@unifold/connect-react-native 0.1.35-beta-006 → 0.1.35
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.d.mts +0 -7
- package/dist/index.d.ts +0 -7
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -317,20 +317,13 @@ interface BottomSheetProps {
|
|
|
317
317
|
onClose: () => void;
|
|
318
318
|
children: React$1.ReactNode;
|
|
319
319
|
closeOnBackdropPress?: boolean;
|
|
320
|
-
/** Allow swiping the sheet down to dismiss. Independent of closeOnBackdropPress. Default: true */
|
|
321
320
|
enablePanDownToClose?: boolean;
|
|
322
321
|
showHandle?: boolean;
|
|
323
|
-
/** Height as percentage of screen (0-1), e.g. 0.9 for 90% */
|
|
324
322
|
heightPercent?: number;
|
|
325
|
-
/** When set with heightPercent, allows dragging the sheet up to this height (0-1). */
|
|
326
323
|
maxHeightPercent?: number;
|
|
327
|
-
/** When true and maxHeightPercent is set, opens at the expanded height instead of the collapsed height. */
|
|
328
324
|
startExpanded?: boolean;
|
|
329
|
-
/** Remove bottom safe area padding */
|
|
330
325
|
noPadding?: boolean;
|
|
331
|
-
/** Top-left corner radius (default: 24) */
|
|
332
326
|
borderTopLeftRadius?: number;
|
|
333
|
-
/** Top-right corner radius (default: 24) */
|
|
334
327
|
borderTopRightRadius?: number;
|
|
335
328
|
}
|
|
336
329
|
declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -317,20 +317,13 @@ interface BottomSheetProps {
|
|
|
317
317
|
onClose: () => void;
|
|
318
318
|
children: React$1.ReactNode;
|
|
319
319
|
closeOnBackdropPress?: boolean;
|
|
320
|
-
/** Allow swiping the sheet down to dismiss. Independent of closeOnBackdropPress. Default: true */
|
|
321
320
|
enablePanDownToClose?: boolean;
|
|
322
321
|
showHandle?: boolean;
|
|
323
|
-
/** Height as percentage of screen (0-1), e.g. 0.9 for 90% */
|
|
324
322
|
heightPercent?: number;
|
|
325
|
-
/** When set with heightPercent, allows dragging the sheet up to this height (0-1). */
|
|
326
323
|
maxHeightPercent?: number;
|
|
327
|
-
/** When true and maxHeightPercent is set, opens at the expanded height instead of the collapsed height. */
|
|
328
324
|
startExpanded?: boolean;
|
|
329
|
-
/** Remove bottom safe area padding */
|
|
330
325
|
noPadding?: boolean;
|
|
331
|
-
/** Top-left corner radius (default: 24) */
|
|
332
326
|
borderTopLeftRadius?: number;
|
|
333
|
-
/** Top-right corner radius (default: 24) */
|
|
334
327
|
borderTopRightRadius?: number;
|
|
335
328
|
}
|
|
336
329
|
declare function BottomSheet({ visible, onClose, children, closeOnBackdropPress, enablePanDownToClose, showHandle, heightPercent, maxHeightPercent, startExpanded, noPadding, borderTopLeftRadius, borderTopRightRadius, }: BottomSheetProps): react_jsx_runtime.JSX.Element | null;
|