Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32218624
D5523.1765181454.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D5523.1765181454.diff
View Options
diff --git a/native/flow-typed/npm/@expo/react-native-action-sheet_vx.x.x.js b/native/flow-typed/npm/@expo/react-native-action-sheet_vx.x.x.js
new file mode 100644
--- /dev/null
+++ b/native/flow-typed/npm/@expo/react-native-action-sheet_vx.x.x.js
@@ -0,0 +1,64 @@
+// flow-typed signature: d46be163849e39e248d58b8d54ae8f16
+// flow-typed version: <<STUB>>/@expo/react-native-action-sheet_v3.14.0/flow_v0.158.0
+
+declare module '@expo/react-native-action-sheet' {
+ // This was taken from the flow typed library definitions of bottom-tabs_v6
+ declare type StyleObj =
+ | null
+ | void
+ | number
+ | false
+ | ''
+ | $ReadOnlyArray<StyleObj>
+ | { [name: string]: any, ... };
+
+ declare type ViewStyleProp = StyleObj;
+ declare type TextStyleProp = StyleObj;
+
+ declare export type ActionSheetIOSOptions = {|
+ +options: $ReadOnlyArray<string>,
+ +title?: string,
+ +message?: string,
+ +tintColor?: string,
+ +cancelButtonIndex?: number,
+ +destructiveButtonIndex?: number | $ReadOnlyArray<number>,
+ +anchor?: number,
+ +userInterfaceStyle?: 'light' | 'dark',
+ +disabledButtonIndices?: $ReadOnlyArray<number>,
+ |};
+
+ declare export type ActionSheetOptions = {|
+ ...ActionSheetIOSOptions,
+ +icons?: $ReadOnlyArray<React$Node>,
+ +tintIcons?: boolean,
+ +textStyle?: TextStyleProp,
+ +titleTextStyle?: TextStyleProp,
+ +messageTextStyle?: TextStyleProp,
+ +autoFocus?: boolean,
+ +showSeparators?: boolean,
+ +containerStyle?: ViewStyleProp,
+ +separatorStyle?: ViewStyleProp,
+ +useModal?: boolean,
+ +destructiveColor?: string,
+ |};
+
+ declare export type ShowActionSheetWithOptions = (
+ options: ActionSheetOptions,
+ callback: (i?: number) => void | Promise<void>,
+ ) => void;
+
+ declare export type ActionSheetProps = {
+ +showActionSheetWithOptions: ShowActionSheetWithOptions,
+ };
+
+ declare export function useActionSheet(): ActionSheetProps;
+
+ declare export type ActionSheetProviderProps = {|
+ +children: React$Node,
+ +useNativeDriver?: boolean,
+ +useCustomActionSheet?: boolean,
+ |};
+
+ declare export class ActionSheetProvider
+ extends React$Component<ActionSheetProviderProps> {}
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 8, 8:10 AM (1 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5847566
Default Alt Text
D5523.1765181454.diff (2 KB)
Attached To
Mode
D5523: [native] introduced flow type for @expo/react-native-action-sheet
Attached
Detach File
Event Timeline
Log In to Comment