1.0.3 ā¢ Published 5 years ago
@ahrefs/bs-reactstrap v1.0.3
bs-reactstrap
These are Bucklescript bindings for Reactstrap.
Currently they are autogenerated based on propTypes. Everything complex (basically not string
or bool
) is just type variable.
š§ It is not completed, we are adding bindings as we go. Doesn't follow semver at this point. š§
Install, npm
yarn add @ahrefs/bs-reactstrap
Setup
Add @ahrefs/bs-reactstrap
to bs-dependencies
in your bsconfig.json
!
{
/* ... */
"bs-dependencies": [
"@ahrefs/bs-reactstrap"
],
/* ... */
}
Usage Example
open BsReactstrap;
let component = ReasonReact.statelessComponent("SomeComponent");
let make = (~onClick, _children) => {
...component,
render: _self => {
<Button color="primary" size="lg" onClick> "Hello" </Button>;
},
};
Check Reactstrap documentation for available props.
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
0.5.9
5 years ago
0.5.8
6 years ago
0.5.7
6 years ago
0.5.6
6 years ago
0.5.5
6 years ago
0.5.4
6 years ago
0.5.3
6 years ago
0.5.2
6 years ago
0.5.1
6 years ago
0.5.0
6 years ago
0.4.0
6 years ago
0.3.0
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago