react-splt
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

React Splt · npm npm bundle size

A tiny (1kb) React component for split panes (written in ReasonML).

Usage

yarn add react-splt
import Split from 'react-splt'
 
function MyComponent() {
    return (
        <Split>
            <span>Left pane.</span>
            <span>Right pane.</span>
        </Split>
    )
}

See the Storybook for more examples.

Developing

# Install dependencies. 
yarn
# Build ReasonML files. 
yarn start
# Run a Storybook. 
yarn storybook

Package Sidebar

Install

npm i react-splt

Weekly Downloads

5

Version

0.1.4

License

MIT

Unpacked Size

124 kB

Total Files

18

Last publish

Collaborators

  • dylanvann