File tree 10 files changed +46
-42
lines changed
10 files changed +46
-42
lines changed Original file line number Diff line number Diff line change
1
+ @module ("react-bootstrap" ) @react.component
2
+ external make : (
3
+ ~_as : string = ?,
4
+ ~xs : int = ?,
5
+ ~sm : int = ?,
6
+ ~md : int = ?,
7
+ ~lg : int = ?,
8
+ ~xl : int = ?,
9
+ ~xxl : int = ?,
10
+ ~className : string = ?,
11
+ ~children : React .element ,
12
+ ~bsPrefix : string = ?,
13
+ ) => React .element = "Col"
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ external make: (
17
17
~role : string = ?,
18
18
~timeout : int = ?,
19
19
~unmountOnExit : bool = ?,
20
- ~className : string = ?
20
+ ~className : string = ?,
21
21
) => React .element = "Collapse"
Original file line number Diff line number Diff line change
1
+ @module ("react-bootstrap" ) @react.component
2
+ external make : (
3
+ ~_as : string = ?,
4
+ ~fluid : [#sm | #md | #lg | #xl | #xxl ]= ?,
5
+ ~children : React .element ,
6
+ ~className : string = ?,
7
+ ~bsPrefix : string = ?,
8
+ ) => React .element = "Container"
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ external make: (
12
12
~onExiting : unit => unit = ?,
13
13
~timeout : int = ?,
14
14
~unmountOnExit : bool = ?,
15
- ~className : string = ?
15
+ ~className : string = ?,
16
16
) => React .element = "Fade"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ external make: (
3
3
~aspectRatio : float = ?,
4
4
~classNmae : string = ?,
5
5
~children : React .element ,
6
- ~bsPrefix : string = ?
6
+ ~bsPrefix : string = ?,
7
7
) => React .element = "Ratio"
Original file line number Diff line number Diff line change 1
1
// Layout
2
- module Layout = Layout
2
+ module Container = Container
3
+ module Row = Row
4
+ module Col = Col
3
5
4
6
module Accordion = Accordion
5
7
module Alert = Alert
Original file line number Diff line number Diff line change
1
+ @module ("react-bootstrap" ) @react.component
2
+ external make : (
3
+ ~_as : string = ?,
4
+ ~xs : int = ?,
5
+ ~sm : int = ?,
6
+ ~md : int = ?,
7
+ ~lg : int = ?,
8
+ ~xl : int = ?,
9
+ ~xxl : int = ?,
10
+ ~className : string = ?,
11
+ ~children : React .element ,
12
+ ~bsPrefix : string = ?,
13
+ ) => React .element = "Row"
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ external make: (
10
10
~show : bool = ?,
11
11
~transition : reactNode = ?,
12
12
~className : string = ?,
13
- ~children : React .element ,
14
- ~bsPrefix : string = ?
13
+ ~children : React .element ,
14
+ ~bsPrefix : string = ?,
15
15
) => React .element = "Toast"
16
16
17
17
module Header = {
@@ -22,7 +22,7 @@ module Header = {
22
22
~closeVariant : [#white ]= ?,
23
23
~className : string = ?,
24
24
~children : React .element ,
25
- ~bsPrefix : string = ?
25
+ ~bsPrefix : string = ?,
26
26
) => React .element = "Header"
27
27
}
28
28
@@ -32,6 +32,6 @@ module Body = {
32
32
~_as : string = ?,
33
33
~className : string = ?,
34
34
~children : React .element ,
35
- ~bsPrefix : string
35
+ ~bsPrefix : string ,
36
36
) => React .element = "Body"
37
37
}
Original file line number Diff line number Diff line change 1
1
type position = [
2
- # "top-start"
2
+ | # "top-start"
3
3
| # "top-center"
4
4
| # "top-end"
5
5
| # "middle-start"
@@ -15,5 +15,5 @@ external make: (
15
15
~position : position = ?,
16
16
~className : string = ?,
17
17
~children : React .element ,
18
- ~bsPrefix : string = ?
18
+ ~bsPrefix : string = ?,
19
19
) => React .element = "ToastContainer"
You can’t perform that action at this time.
0 commit comments