UNPKG

534 BTypeScriptView Raw
1import * as React from 'react';
2import ActionSheet from './ActionSheet';
3import { ActionSheetOptions } from './types';
4interface Props {
5 children: React.ReactNode;
6 useNativeDriver?: boolean;
7}
8export 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}
16export {};