forked from ammarahm-ed/react-native-actions-sheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
38 lines (33 loc) · 1.03 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { Component } from "react";
import { StyleProp, ViewStyle } from "react-native";
declare module "react-native-actions-sheet" {
export type ActionSheetProps = {
animated?: boolean;
initialOffsetFromBottom?: number;
springOffset?: number;
elevation?: number;
indicatorColor?: string;
extraScroll?:number;
overlayColor?: string;
footerAlwaysVisible?:false,
headerAlwaysVisible?:false,
CustomHeaderComponent?:React.ReactNode,
CustomFooterComponent?:React.ReactNode,
containerStyle?: StyleProp<ViewStyle>,
closeOnTouchBackdrop?:boolean,
footerHeight?:number,
footerStyle?:StyleProp<ViewStyle>,
openAnimationSpeed?:number,
closeAnimationDuration?:number;
bounciness?:number;
closeOnPressBack?: boolean;
defaultOverlayOpacity?:number;
gestureEnabled?: boolean;
bounceOnOpen?: boolean;
onClose?: () => void;
onOpen?: () => void;
};
export default class ActionSheet extends Component<ActionSheetProps> {
setModalVisible(): void;
}
}