Skip to content

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

License

Notifications You must be signed in to change notification settings

DylanVann/react-splt

Repository files navigation

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