@manhphi1309/dialog 0.3.10 → 0.3.11
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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -305,7 +305,7 @@ function ResponsiveDialog({ children, snapPoints, activeSnapPoint, setActiveSnap
|
|
|
305
305
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ResponsiveDialogContext.Provider, {
|
|
306
306
|
value: { snap },
|
|
307
307
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_manhphi1309_drawer.Drawer, {
|
|
308
|
-
shouldScaleBackground: true,
|
|
308
|
+
shouldScaleBackground: drawerProps.shouldScaleBackground ?? true,
|
|
309
309
|
...drawerProps,
|
|
310
310
|
children
|
|
311
311
|
})
|
package/dist/index.mjs
CHANGED
|
@@ -281,7 +281,7 @@ function ResponsiveDialog({ children, snapPoints, activeSnapPoint, setActiveSnap
|
|
|
281
281
|
return /* @__PURE__ */ jsx(ResponsiveDialogContext.Provider, {
|
|
282
282
|
value: { snap },
|
|
283
283
|
children: /* @__PURE__ */ jsx(Drawer, {
|
|
284
|
-
shouldScaleBackground: true,
|
|
284
|
+
shouldScaleBackground: drawerProps.shouldScaleBackground ?? true,
|
|
285
285
|
...drawerProps,
|
|
286
286
|
children
|
|
287
287
|
})
|