Bucklescript bindings for Reactstrap
npm install @ahrefs/bs-reactstrapThese 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. š§
```
yarn add @ahrefs/bs-reactstrap
Add @ahrefs/bs-reactstrap to bs-dependencies in your bsconfig.json!
`js`
{
/ ... /
"bs-dependencies": [
"@ahrefs/bs-reactstrap"
],
/ ... /
}
`reason
open BsReactstrap;
let component = ReasonReact.statelessComponent("SomeComponent");
let make = (~onClick, _children) => {
...component,
render: _self => {
;
},
};
``
Check Reactstrap documentation for available props.