UNPKG

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