forked from wix/react-native-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRNNButtonOptions.h
36 lines (28 loc) · 1.23 KB
/
RNNButtonOptions.h
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
#import "RNNComponentOptions.h"
#import "RNNIconBackgroundOptions.h"
#import "RNNInsetsOptions.h"
#import "RNNOptions.h"
@interface RNNButtonOptions : RNNOptions
@property(nonatomic, strong) Text *identifier;
@property(nonatomic, strong) Text *fontFamily;
@property(nonatomic, strong) Text *text;
@property(nonatomic, strong) Text *systemItem;
@property(nonatomic, strong) Text *accessibilityLabel;
@property(nonatomic, strong) Number *fontSize;
@property(nonatomic, strong) Text *fontWeight;
@property(nonatomic, strong) Text *testID;
@property(nonatomic, strong) Color *color;
@property(nonatomic, strong) Color *disabledColor;
@property(nonatomic, strong) Image *icon;
@property(nonatomic, strong) Text *sfSymbol;
@property(nonatomic, strong) Bool *enabled;
@property(nonatomic, strong) RNNInsetsOptions *iconInsets;
@property(nonatomic, strong) Bool *selectTabOnPress;
@property(nonatomic, strong) RNNComponentOptions *component;
@property(nonatomic, strong) RNNIconBackgroundOptions *iconBackground;
- (RNNButtonOptions *)withDefault:(RNNButtonOptions *)defaultOptions;
- (UIColor *)resolveColor;
- (RNNButtonOptions *)withDefaultColor:(Color *)color disabledColor:(Color *)disabledColor;
- (BOOL)shouldCreateCustomView;
- (BOOL)isEnabled;
@end