dhre-ui-kit 0.0.283 → 0.0.285
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -659,7 +659,8 @@ const BottomDrawer = ({
|
|
|
659
659
|
titleVariant = "B2_REGULAR",
|
|
660
660
|
showHeader = true,
|
|
661
661
|
showSeparator = true,
|
|
662
|
-
showBlurView
|
|
662
|
+
showBlurView = true,
|
|
663
|
+
backdropColor
|
|
663
664
|
}) => {
|
|
664
665
|
const { theme } = useTheme();
|
|
665
666
|
return /* @__PURE__ */ React.createElement(
|
|
@@ -668,7 +669,7 @@ const BottomDrawer = ({
|
|
|
668
669
|
isVisible: isModalVisible,
|
|
669
670
|
swipeDirection: "down",
|
|
670
671
|
onSwipeComplete: toggleModal,
|
|
671
|
-
backdropColor: theme.SURFACE_PRIMARY,
|
|
672
|
+
backdropColor: backdropColor ?? theme.SURFACE_PRIMARY,
|
|
672
673
|
hasBackdrop: showBlurView,
|
|
673
674
|
style: { margin: 0 }
|
|
674
675
|
},
|