# react-splitbox

> react splitter component

Latest version **0.0.1** (published 2019-02-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-splitbox
pnpm add react-splitbox
yarn add react-splitbox
bun add react-splitbox
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-02-03 |
| First published | 2019-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 16.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | MG |
| Maintainers | dioklecijan |
| Keywords | splitbox, splitter, react, react-splitter, react-splitbox, react-hooks, hooks, utils |

## Links

- npm: https://www.npmjs.com/package/react-splitbox
- Repository: http://github.com/dioklecijan/react-splitbox
- npm.io page: https://npm.io/package/react-splitbox

## Dependencies (2)

- [react](https://npm.io/package/react.md) 16.8.0-alpha.1
- [react-dom](https://npm.io/package/react-dom.md) 16.8.0-alpha.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2019-02-03

## README

# react-splitbox

> react splitter component (https://dioklecijan.github.io/react-splitbox/)

[![NPM](https://img.shields.io/npm/v/react-splitbox.svg)](https://www.npmjs.com/package/react-splitbox) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Requirements

This lib uses react hooks which means you need `react` and `react-dom` 
version `16.8.0-alpha1`or higher.

## Install

```bash
npm install --save react-splitbox
```

## Usage

```jsx
import React, { Component } from 'react'

import Splitter from 'react-splitbox'

class Example extends Component {
  render () {
    return (
      <Splitter vertical size="33% onResize={this.onResize}>
        <div>top pane</div>
        <div>bottom pane</div>
      </Splitter>
    )
  }
}
```
Example app is in `example` directory.


## License

MIT © [dioklecijan](https://github.com/dioklecijan)

---
_Source: https://npm.io/package/react-splitbox · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
