November: Procrastination Month

    @ctbucha/bs-react-split-pane

    0.0.1 • Public • Published

    bs-react-split-pane

    BuckleScript bindings for react-split-pane.

    Status

    🚧 This is a WIP, not everything is supported yet. 🚧

    Feel free to create an issue or PR if you find anything missing.

    Installation

    npm install --save @ctbucha/bs-react-split-pane
    

    Then add @ctbucha/bs-react-split-pane to bs-dependencies in your bsconfig.json:

    {
      ...
      "bs-dependencies": ["@ctbucha/bs-react-split-pane"]
    }
    

    Usage

    /* App.re */
    let component = ReasonReact.statelessComponent("App");
    
    let make = _children => {
      ...component,
      render: _self =>
        BsSplitPane.(
          <SplitPane size=100 split=`horizontal>
            <div> (ReasonReact.string("first div")) </div>
            <div> (ReasonReact.string("second div")) </div>
          </SplitPane>
        ),
    };

    Install

    npm i @ctbucha/bs-react-split-pane

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    5.61 kB

    Total Files

    7

    Last publish

    Collaborators

    • ctbucha