1 | import * as React from 'react';
|
2 | import ActionSheet from './ActionSheet';
|
3 | import { ActionSheetOptions } from './types';
|
4 | interface Props {
|
5 | children: React.ReactNode;
|
6 | useNativeDriver?: boolean;
|
7 | }
|
8 | export default class ActionSheetProvider extends React.Component<Props> {
|
9 | _actionSheetRef: React.RefObject<ActionSheet>;
|
10 | constructor(props: Props);
|
11 | getContext: () => {
|
12 | showActionSheetWithOptions: (options: ActionSheetOptions, callback: (i: number) => void) => void;
|
13 | };
|
14 | render(): JSX.Element;
|
15 | }
|
16 | export {};
|