File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ import * as React from 'react'
2
+ import {
3
+ ViewStyle ,
4
+ ViewProperties ,
5
+ TextStyle
6
+ } from 'react-native'
7
+
8
+
9
+ export interface ActionButtonProperties extends ViewProperties {
10
+ resetToken ?: any ,
11
+ active ?: boolean ,
12
+
13
+ position ?: string ,
14
+ elevation ?: number ,
15
+ zIndex ?: number ,
16
+
17
+ hideShadow ?: boolean ,
18
+ shadowStyle ?: { } | [ any ] | number ,
19
+ bgColor ?: string ,
20
+ bgOpacity ?: number ,
21
+ buttonColor ?: string ,
22
+ buttonTextStyle ?: TextStyle ,
23
+ buttonText ?: string ,
24
+
25
+ offsetX ?: number ,
26
+ offsetY ?: number ,
27
+ spacing ?: number ,
28
+ size ?: number ,
29
+ autoInactive ?: boolean ,
30
+ onPress ?: ( ) => void ,
31
+ backdrop ?: boolean | object ,
32
+ degrees ?: number ,
33
+ verticalOrientation ?: 'up' | 'down' ,
34
+ backgroundTappable ?: boolean ,
35
+ activeOpacity ?: number ,
36
+
37
+ useNativeFeedback ?: boolean ,
38
+ fixNativeFeedbackRadius ?: boolean ,
39
+ nativeFeedbackRippleColor ?: string
40
+ }
41
+
42
+ export interface ActionButtonItemProperties extends ViewProperties {
43
+ title ?: string
44
+ onPress ?: ( ) => void
45
+ buttonColor ?: string
46
+ textContainerStyle ?: ViewStyle
47
+ textStyle ?: TextStyle
48
+ spaceBetween ?: number
49
+ activeOpacity ?: number
50
+ hideLabelShadow ?: boolean
51
+ shadowStyle ?: ViewStyle
52
+ useNativeFeedback ?: boolean
53
+ fixNativeFeedbackRadius ?: boolean
54
+ nativeFeedbackRippleColor ?: string
55
+ }
56
+
57
+ export class ActionButtonItem extends React . Component < ActionButtonItemProperties > { }
58
+ export default class ActionButton extends React . Component < ActionButtonProperties > {
59
+ static Item : typeof ActionButtonItem
60
+ }
You can’t perform that action at this time.
0 commit comments