// Type definitions for react-native-actionsheet 2.4 // Project: https://github.com/beefe/react-native-actionsheet // Definitions by: Ian // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import * as React from 'react'; export interface ActionSheetProps { options: string[]; onPress: (index: number) => void; title?: string; message?: string; tintColor?: string; cancelButtonIndex?: number; destructiveButtonIndex?: number; } export interface ActionSheetCustomProps { options: React.ReactNode[]; onPress: (index: number) => void; title?: React.ReactNode; message?: string; tintColor?: string; buttonUnderlayColor?: string; cancelButtonIndex?: number; destructiveButtonIndex?: number; styles?: object; } export default class ActionSheet extends React.Component { show: () => void; } export class ActionSheetCustom extends React.Component { show: () => void; }