@nation-a/ui 0.16.2 → 0.16.4
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.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/components/BottomSheet/index.d.ts +16 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -19207,7 +19207,7 @@ const BottomSheet = forwardRef(
|
|
|
19207
19207
|
...props
|
|
19208
19208
|
}, ref) => {
|
|
19209
19209
|
let snapPercentPoints = null;
|
|
19210
|
-
if (snapPercent
|
|
19210
|
+
if (snapPercent && snapPercent.max) {
|
|
19211
19211
|
snapPercentPoints = [snapPercent.max * window.innerHeight, snapPercent.min * window.innerHeight];
|
|
19212
19212
|
}
|
|
19213
19213
|
const snapPoints = snapPercentPoints ? snapPercentPoints : maxSnapPoint ? [maxSnapPoint] : void 0;
|