diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..dbdfc80 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,14 @@ +import { ActionSheetIOSOptions } from 'react-native'; + +export interface ActionSheetProps { + showActionSheetWithOptions: ( + options: ActionSheetIOSOptions, + callback: (buttonIndex: number) => void, + ) => void; +} + +export function connectActionSheet( + WrappedComponent: React.ComponentType, +): React.ComponentClass; + +export const ActionSheetProvider: React.ComponentClass;