-
Notifications
You must be signed in to change notification settings - Fork 570
/
index.d.ts
62 lines (54 loc) · 1.49 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import * as React from 'react'
import {
ViewStyle,
ViewProperties,
TextStyle
} from 'react-native'
export interface ActionButtonProperties extends ViewProperties {
resetToken?: any,
active?: boolean,
position?: string,
elevation?: number,
zIndex?: number,
hideShadow?: boolean,
shadowStyle?: {} | [any] | number,
bgColor?: string,
bgOpacity?: number,
buttonColor?: string,
buttonTextStyle?: TextStyle,
buttonText?: string,
offsetX?: number,
offsetY?: number,
spacing?: number,
size?: number,
autoInactive?: boolean,
onPress?: () => void,
renderIcon?: (active: boolean) => React.ReactElement<any>,
backdrop?: boolean | object,
degrees?: number,
verticalOrientation?: 'up' | 'down',
backgroundTappable?: boolean,
activeOpacity?: number,
useNativeFeedback?: boolean,
fixNativeFeedbackRadius?: boolean,
nativeFeedbackRippleColor?: string
}
export interface ActionButtonItemProperties extends ViewProperties {
size?: number,
title?: string
onPress?: () => void
buttonColor?: string
textContainerStyle?: ViewStyle
textStyle?: TextStyle
spaceBetween?: number
activeOpacity?: number
hideLabelShadow?: boolean
shadowStyle?: ViewStyle
useNativeFeedback?: boolean
fixNativeFeedbackRadius?: boolean
nativeFeedbackRippleColor?: string
}
export class ActionButtonItem extends React.Component <ActionButtonItemProperties> {}
export default class ActionButton extends React.Component <ActionButtonProperties> {
static Item: typeof ActionButtonItem
}