react-dock
Resizable dockable react component.
Demo
http://alexkuz.github.io/react-dock/demo/
Install
Example
Dock Props
Prop Name | Description |
---|---|
position | Side to dock ( |
fluid | If |
size | Size of dock panel (width or height, depending on |
defaultSize | Default size of dock panel (used for uncontrolled |
isVisible | If |
dimMode | If |
duration | Animation duration. Should be synced with transition animation in style properties |
dimStyle | Style for dim area |
dockStyle | Style for dock |
zIndex | Z-index for wrapper |
onVisibleChange | Fires when |
onSizeChange | Fires when |
children | Dock content - react elements or function that returns an element. Function receives an object with these state values: |
Last updated