-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathImage.hx
40 lines (37 loc) · 938 Bytes
/
Image.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
package react.semanticui;
import react.BaseProps;
import react.ReactComponent;
import react.ReactType;
import haxe.extern.EitherType;
import tink.domspec.Attributes;
import tink.domspec.Events;
#if react_global @:native('semanticUIReact.Image')
#else @:jsRequire('semantic-ui-react', 'Image')
#end
extern class Image extends ReactComponentOfProps<ImageProps> {}
typedef ImageProps = {
> BasePropsWithOptChild,
> BaseSemanticProps,
> ImageAttr,
> Events<js.html.ImageElement>,
?avatar:Bool,
?bordered:Bool,
?centered:Bool,
?circular:Bool,
// ?content:Dynamic,
// ?dimmer:Dynamic,
?disabled:Bool,
?floated:String, // left,right
?fluid:Bool,
?hidden:Bool,
?href:String,
// ?inline:Bool,
// ?label:Dynamic,
?rounded:Bool,
?size:String, // mini,tiny,small,medium,large,big,huge,massive
?src:String,
?spaced:EitherType<Bool,String>, // left,right
?ui:Bool,
?verticalAlign:String, // bottom,middle,top
?wrapped:Bool,
}