UNPKG

react-native-popup-dialog-3

Version:
57 lines (51 loc) 1.14 kB
// @flow export type PopupDialogType = { dialogTitle?: any; children: any; } export type DialogType = { width?: number; height?: number; haveOverlay: boolean; overlayPointerEvents?: string; overlayBackgroundColor?: string; overlayOpacity?: number; dialogAnimation?: Object; dialogStyle?: any; containerStyle?: any; animationDuration?: number; dismissOnTouchOutside?: boolean; dismissOnHardwareBackPress?: boolean; show?: boolean; onShown?: Function; onDismissed?: Function; actions?: Array<any>; useNativeDriver?: boolean; children: any; } export type DialogButtonType = { text: string; onPress: Function; align?: string; buttonStyle?: any; textStyle?: any; textContainerStyle?: any; disabled?: boolean; activeOpacity?: number; } export type DialogTitleType = { title: any; titleStyle?: any; titleTextStyle?: any; titleAlign?: string; haveTitleBar?: boolean; } export type OverlayType = { onPress: Function; backgroundColor?: string; opacity?: number; animationDuration?: number; showOverlay?: boolean; pointerEvents?: string; useNativeDriver?: boolean; }