1 | import * as React from 'react';
|
2 | import { ViewProps } from 'react-native';
|
3 | import { ActionSheetIOSOptions } from '../types';
|
4 | interface Props {
|
5 | readonly children: React.ReactNode;
|
6 | readonly pointerEvents?: ViewProps['pointerEvents'];
|
7 | }
|
8 | declare type onSelect = (buttonIndex: number) => void;
|
9 | export default class ActionSheet extends React.Component<Props> {
|
10 | render(): JSX.Element;
|
11 | showActionSheetWithOptions(dataOptions: ActionSheetIOSOptions, onSelect: onSelect): void;
|
12 | }
|
13 | export {};
|