@bottom-sheet/types
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -33,3 +33,3 @@ export declare type SnapPoints = [number, ...number[]]; | ||
} | ||
export declare type GetSnapPoints = (props: GetSnapPointsProps) => [number, ...number[]] | number; | ||
export declare type GetSnapPoints = (props: GetSnapPointsProps) => SnapPoints | number; | ||
export interface GetInitialHeightProps extends GetSnapPointsProps { | ||
@@ -36,0 +36,0 @@ /** The snap points currently in use, this can be controlled by providing a `snapPoints` function on the bottom sheet. */ |
{ | ||
"name": "@bottom-sheet/types", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "TypeScript definitions that are shared between packages", | ||
@@ -5,0 +5,0 @@ "homepage": "https://react-spring.bottom-sheet.dev", |
4378