dev-dashboard
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

introduce

为产生本地 💻 调试环境,提效 🚀 而二次封装的 Dashboard。

usage

单路由极简风格

import { Simple } from "dev-dashoard";

<Simple />

Props

type SimpleProps = {
  title?: string;
  useHash?: boolean; // 是否使用 hash 模式
  routes: Array<{
    name: string
    icon: React.ReactNode
    path: string
    component: React.FunctionComponent | React.ComponentClass
  }>
}

alt="星彩";

Readme

Keywords

Package Sidebar

Install

npm i dev-dashboard

Weekly Downloads

7

Version

3.0.0

License

ISC

Unpacked Size

102 kB

Total Files

8

Last publish

Collaborators

  • a7489757