wonder-bs-blueprintjs

0.0.2 • Public • Published

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>
};

Readme

Keywords

none

Package Sidebar

Install

npm i wonder-bs-blueprintjs

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • amyorz