react-resize-layout
This react component resize the layout of HTML using a handle.
Example
Usage
API
<Resize>
options | type | default | description |
---|---|---|---|
handleWidth | string | "5px" | handle width |
handleColor | string | "#999" | handle color |
onResizeStart | callback | Calls when resize start | |
onResizeStop | callback | Calls when resize stop | |
onResizeMove | callback | Calls when resize move | |
onResizeWindow | callback | Calls when window resize |
<ResizeHorizon>
options | type | description |
---|---|---|
id | string | Set the id of the ResizeHorizon component |
className | string | Set the className of the ResizeHorizon component |
width | string | Set the width of the ResizeHorizon component |
minWidth | string | Set the minimum width of the ResizeHorizon component |
overflow | string | Set the css overflow property. default value "hidden" |
<ResizeVertical>
options | type | description |
---|---|---|
id | string | Set the id of the ResizeVertical component |
className | string | Set the className of the ResizeVertical component |
height | string | Set the height of the ResizeVertical component |
minHeight | string | Set the minimum height of the ResizeVertical component |
overflow | string | Set the css overflow property. default value "hidden" |