1 | import React from 'react';
|
2 | import type { RefHandles, SpringEvent } from './types';
|
3 | export type { RefHandles as BottomSheetRef, Props as BottomSheetProps, } from './types';
|
4 | export declare const BottomSheet: React.ForwardRefExoticComponent<{
|
5 | children: React.ReactNode;
|
6 | sibling?: React.ReactNode;
|
7 | onSpringStart?: (event: SpringEvent) => void;
|
8 | onSpringCancel?: (event: SpringEvent) => void;
|
9 | onSpringEnd?: (event: SpringEvent) => void;
|
10 | open: boolean;
|
11 | className?: string;
|
12 | footer?: React.ReactNode;
|
13 | header?: React.ReactNode;
|
14 | initialFocusRef?: false | React.RefObject<HTMLElement>;
|
15 | onDismiss?: () => void;
|
16 | blocking?: boolean;
|
17 | maxHeight?: number;
|
18 | scrollLocking?: boolean;
|
19 | snapPoints?: import("./types").snapPoints;
|
20 | defaultSnap?: number | ((props: import("./types").defaultSnapProps) => number);
|
21 | reserveScrollBarGap?: boolean;
|
22 | skipInitialTransition?: boolean;
|
23 | expandOnContentDrag?: boolean;
|
24 | } & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "children"> & React.RefAttributes<RefHandles>>;
|
25 |
|
\ | No newline at end of file |