@fle-ui/pro-discard-layout
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

@fle-ui/pro-layout

export interface MenuDataItem {
  /** @name submenu */
  children?: MenuDataItem[];
  /** @name Hide child nodes in the menu */
  hideChildrenInMenu?: boolean;
  /** @name hideSelf and children in menu */
  hideInMenu?: boolean;
  /** @name Icon of the menu */
  icon?: React.ReactNode;
  /** @name Internationalization key for custom menus */
  locale?: string | false;
  /** @name The name of the menu */
  name?: string;
  /** @name is used to calibrate the selected value, default is path */
  key?: string;
  /** @name disable menu option */
  disabled?: boolean;
  /** @name path */
  path?: string;
  /**
   * When this node is selected, the node of parentKeys is also selected
   *
   * @name custom parent node
   */
  parentKeys?: string[];
  /** @name hides itself and elevates child nodes to its level */
  flatMenu?: boolean;

  [key: string]: any;
}

Install

Using npm:

$ npm install --save  @fle-ui/pro-layout

or using yarn:

$ yarn add @fle-ui/pro-layout

Readme

Keywords

Package Sidebar

Install

npm i @fle-ui/pro-discard-layout

Weekly Downloads

1

Version

3.0.2

License

MIT

Unpacked Size

579 kB

Total Files

201

Last publish

Collaborators

  • zxf9397
  • qilin777
  • libin_pro
  • chenfangsheng