resizable-panels-react

2.0.8 • Public • Published

ResizablePanelsReact

A simple react component to create resizable panels :D

Props:

  • bkcolor: set a background color
  • displayDirection: its like flex direction, you can choose "row" for horizontal resizing or "column" for vertical resizing
  • width: set a width for you component
  • height: set a height for you component
  • panelsSize: a array to set your panels sizes, if you have 2 panels
  • sizeUnitMeasure: unit used to calculate the amount to resize (px or %)
  • resizerColor: change resizer color
  • resizerSize: change resizer size

Code sample on CodeSandBox: https://codesandbox.io/embed/8l8lpp5nk9?fontsize=14

Readme

Keywords

none

Package Sidebar

Install

npm i resizable-panels-react

Weekly Downloads

110

Version

2.0.8

License

ISC

Unpacked Size

128 kB

Total Files

8

Last publish

Collaborators

  • feliperrf