Skip to content

rich-lab/panel-manager

Repository files navigation

panel-manager

Provide an easy way to manage your panels.

https://rich-lab.github.io/panel-manager/

Features

  • Create panels declaratively
  • Generate border automatically
  • Memorize panel sizes

Installation

npm install panel-manager --save
yarn add panel-manager

Usage

import PanelManager from 'panel-manager';
import type { IPanelConfig } from 'panel-manager';

const config: IPanelConfig = { ... };

const App = () => <PanelManager panelConfig={config} />

Props

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

Custom style

border

:root {
  --panel-manager-border-color: #e4e4e4;  
  --panel-manager-border--active-color: #1890ff;  
}

Changelog

The changelog can be found on the Releases page.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Authors and license

Mrkou47 and contributors.

MIT License, see the included License.md file.

About

Provide an easy way to manage your panels.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •