@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 CHANGED
@@ -19225,7 +19225,7 @@ const BottomSheet = React.forwardRef(
19225
19225
  ...props
19226
19226
  }, ref) => {
19227
19227
  let snapPercentPoints = null;
19228
- if (snapPercent.min && snapPercent.max) {
19228
+ if (snapPercent && snapPercent.max) {
19229
19229
  snapPercentPoints = [snapPercent.max * window.innerHeight, snapPercent.min * window.innerHeight];
19230
19230
  }
19231
19231
  const snapPoints = snapPercentPoints ? snapPercentPoints : maxSnapPoint ? [maxSnapPoint] : void 0;