panel-manager
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

panel-manager

Provide an easy way to manage your panels.

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

Feature

  • create panels declartive
  • auto generate border
  • memorize panel size

Install

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.

Readme

Keywords

none

Package Sidebar

Install

npm i panel-manager

Weekly Downloads

2

Version

1.1.6

License

MIT

Unpacked Size

47.2 kB

Total Files

25

Last publish

Collaborators

  • mrkou47