react-splt
v0.1.4
Published
A tiny (1kb) React component for split panes (written in ReasonML).
Downloads
8
Maintainers
Readme
React Splt ·
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