|
| 1 | +type placement = [#start | #end | #top | #bottom] |
| 2 | + |
| 3 | +@module("react-bootstrap") @react.component |
| 4 | +external make: ( |
| 5 | + ~\"aria-labelledby": string=?, |
| 6 | + ~autoFocus: bool=?, |
| 7 | + ~backdrop: bool=?, |
| 8 | + ~backdropClassName: string=?, |
| 9 | + ~container: React.element=?, |
| 10 | + ~enforceFocus: bool=?, |
| 11 | + ~keyboard: bool=?, |
| 12 | + ~onEnter: unit => unit=?, |
| 13 | + ~onEntering: unit => unit=?, |
| 14 | + ~onEscapeKeyDown: unit => unit=?, |
| 15 | + ~onExit: unit => unit=?, |
| 16 | + ~onExited: unit => unit=?, |
| 17 | + ~onExiting: unit => unit=?, |
| 18 | + ~onHide: unit => unit=?, |
| 19 | + ~onShow: unit => unit=?, |
| 20 | + ~placement: placement=?, |
| 21 | + ~restoreFocus: bool=?, |
| 22 | + ~restoreFocusOptions: {.}=?, |
| 23 | + ~scrool: bool=?, |
| 24 | + ~show: bool=?, |
| 25 | + ~className: string=?, |
| 26 | + ~children: React.element, |
| 27 | + ~bsPrefix: string=?, |
| 28 | +) => React.element = "Offcanvas" |
| 29 | + |
| 30 | +module Header = { |
| 31 | + @module("react-bootstrap") @scope("Offcanvas") @react.component |
| 32 | + external make: ( |
| 33 | + ~closeButton: bool=?, |
| 34 | + ~closeLabel: string=?, |
| 35 | + ~closeVariant: [#white]=?, |
| 36 | + ~onHide: unit => unit=?, |
| 37 | + ~className: string=?, |
| 38 | + ~children: React.element, |
| 39 | + ~bsPrefix: string=?, |
| 40 | + ) => React.element = "Header" |
| 41 | +} |
| 42 | + |
| 43 | +module Title = { |
| 44 | + @module("react-bootstrap") @scope("Offcanvas") @react.component |
| 45 | + external make: ( |
| 46 | + ~_as: string=?, |
| 47 | + ~className: string=?, |
| 48 | + ~children: React.element, |
| 49 | + ~bsPrefix: string, |
| 50 | + ) => React.element = "Title" |
| 51 | +} |
| 52 | + |
| 53 | +module Body = { |
| 54 | + @module("react-bootstrap") @scope("Offcanvas") @react.component |
| 55 | + external make: ( |
| 56 | + ~_as: string=?, |
| 57 | + ~className: string=?, |
| 58 | + ~children: React.element, |
| 59 | + ~bsPrefix: string, |
| 60 | + ) => React.element = "Body" |
| 61 | +} |
0 commit comments