Provide an easy way to manage your panels.
https://rich-lab.github.io/panel-manager/
- Create panels declaratively
- Generate border automatically
- Memorize panel sizes
npm install panel-manager --save
yarn add panel-manager
import PanelManager from 'panel-manager';
import type { IPanelConfig } from 'panel-manager';
const config: IPanelConfig = { ... };
const App = () => <PanelManager panelConfig={config} />
name | description | required | default |
---|---|---|---|
disableCache | disble cache panel size feature | x | false |
autoBorder | auto generate panel border | x | false |
name | cache name, for localStorage.setItem(name, PANEL_SIZE) |
x | PANEL_MANAGER |
:root {
--panel-manager-border-color: #e4e4e4;
--panel-manager-border--active-color: #1890ff;
}
The changelog can be found on the Releases page.
Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.
Mrkou47 and contributors.
MIT License, see the included License.md file.