1.2.6 • Published 8 years ago

react-split-container v1.2.6

Weekly downloads
2
License
UNLICENSED
Repository
github
Last release
8 years ago

react-split-container

React Split Container

Install

$ npm i --save react-split-container

Usage

import SplitContainer from 'react-split-container'
import 'react-split-container/index.css'

<SplitContainer
  defaultSplitAt={100}
>
  <div>first child</div>
  <div>second child</div>
</SplitContainer>

DON'T FORGET to include the index.css file!!!

API & Props

import SplitContainer from 'react-split-container'
import 'react-split-container/index.css'

<SplitContainer
  orientation="horizontal"
  defaultSplitAt={-100}
  collapsible={[true, false]}

>
  <div>first child</div>
  <div>second child</div>
</SplitContainer>
  • defaultSplitAt/splitAt - uncontrolled/controlled - where to split. Can use fixed values, percetange (eg: 30%) or 'auto'/'-auto'.

License

Commercial license required - copyright Zippy Technologies

For details, email us at contact at zippyui dot com

1.2.6

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.2.0

10 years ago

0.1.1

10 years ago