-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathButton.hx
46 lines (40 loc) · 924 Bytes
/
Button.hx
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
package react.semanticui;
import react.ReactComponent;
import react.BaseProps;
import tink.domspec.Attributes;
import haxe.extern.EitherType;
import haxe.Constraints;
#if react_global @:native('semanticUIReact.Button')
#else @:jsRequire('semantic-ui-react', 'Button')
#end
extern class Button extends ReactComponentOfProps<ButtonProps> {}
typedef ButtonProps = {
> BasePropsWithOptChildren,
> BaseSemanticProps,
> ButtonAttr,
> ReactEvents<js.html.ButtonElement>,
?active:Bool,
?animated:EitherType<Bool,String>,
?attached:EitherType<Bool,String>,
?basic:Bool,
?circular:Bool,
?color:String,
?compact:Bool,
?content:Dynamic,
?disabled:Bool,
?floated:String,
?fluid:Bool,
?icon:Dynamic,
?inverted:Bool,
?label:Dynamic,
?labelPosition:String,
?loading:Bool,
?negative:Bool,
// ?onClick:Function,
?positive:Bool,
?primary:Bool,
// ?role:String,
?secondary:Bool,
?size:String,
?toggle:Bool,
}