{"repo":"ticlo/rc-dock","free":true,"listed":false,"github":"https://github.com/ticlo/rc-dock","clone":"git clone https://github.com/ticlo/rc-dock.git","description":"Dock Layout for React Component","language":"TypeScript","stars":810,"topics":["dock","layout","react","reactjs","panel","tabs","drag","drag-and-drop","drop","react-dom"],"license":"Apache-2.0","category":"ui-components","readme_excerpt":"Dock Layout for React Component Popup panel as new browser window Dark Theme - Examples: https://ticlo.github.io/rc-dock/examples - Docs: https://ticlo.github.io/rc-dock - Discord: Usage - use as uncontrolled layout - set layout object in DockLayout.defaultLayout - use as controlled layout - set layout object in DockLayout.layout types LayoutData 🗎 Property Type Comments Default :---: :---: :---: :---: dockbox BoxData main dock box empty BoxData floatbox BoxData main float box, children can only be PanelData empty BoxData BoxData 🗎 a box is the layout element that contains other boxes or panels Property Type Comments Default :---: :---: :---: :---: mode 'horizontal' &#x7c; 'vertical' &#x7c; 'float' layout mode of the box children (BoxData &#x7c; PanelData)[] children boxes or panels required PanelData 🗎 a panel is a visiaul container with tabs button in the title bar Property Type Comments Default :---: :---: :---: :---: tabs TabData[] children tabs required panelLock PanelLock addition information of a panel, this prevents the panel from being removed when there is no tab inside, a locked panel can not be moved to float layer either TabData 🗎 Property Type Comments Default :---: :---: :---: :---: id string unique id required title string &#x7c; ReactElement tab title required content ReactElement &#x7c; (tab: TabData) = ReactElement tab content required closable bool whether tab can be closed false group string tabs with different tab group can not be put in same panel, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ticlo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ticlo/rc-dock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}