-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMenu.hx
40 lines (35 loc) · 888 Bytes
/
Menu.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
package react.semanticui;
import react.ReactComponent;
import react.BaseProps;
import haxe.extern.EitherType;
import haxe.Constraints;
#if react_global @:native('semanticUIReact.Menu')
#else @:jsRequire('semantic-ui-react', 'Menu')
#end
extern class Menu extends ReactComponentOfProps<MenuProps> {}
typedef MenuProps = {
> BasePropsWithOptChildren,
> BaseSemanticProps,
?activeIndex:EitherType<Int, String>,
?attached:EitherType<Bool, String>,
?borderless:Bool,
?color:String,
?compact:Bool,
?defaultActiveIndex:EitherType<Int, String>,
?fixed:String,
?floated:EitherType<Bool, String>,
?fluid:Bool,
?icon:EitherType<Bool, String>,
?inverted:Bool,
?items:Array<Dynamic>,
?onItemClick:Function,
?pagination:Bool,
?pointing:Bool,
?secondary:Bool,
?size:String,
?stackable:Bool,
?tabular:EitherType<Bool, String>,
?text:Bool,
?vertical:Bool,
?widths:String,
}