0.3.1 • Published 7 years ago
@bs-blueprintjs/datetime v0.3.1
bs-blueprintjs
Note: these are bindings to the Blueprint.js UI toolkit. These are a thin typed wrapper to let you use Blueprintjs Components in bucklescript.
Documentation
Installation:
npm install --save @blueprintjs/core
npm install --save-dev @bs-blueprintjs/core
// bsconfig.json
"bs-dependencies": [
"reason-react",
"@bs-blueprintjs/core"
]
Example usage:
let component = ReasonReact.statelessComponent "App";
let make ::message _children => {
...component,
render: fun _self =>
<div className="App">
<Blueprintjs.Button
text="Click"
rightIconName="search"
disabled=false
intent=Blueprintjs.Intent.PRIMARY
onClick=(fun evt => Js.log evt)
/>
</div>
};