@umijs/ui-types
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

umi ui types

Type definitions for umi ui.

NPM version Build Status NPM downloads

Why

Installation

$ yarn add @umijs/types

Usage

import { IApi } from 'umi';

export default function(api: IApi) {
  api.addPanel({
    title: "org.umi.ui.blocks.content.title",
    path: "/blocks",
    icon: <Icon />,
    component: () => (
      <div>Hello</div>
    )
  });
}

LICENSE

MIT

Dependents (0)

Package Sidebar

Install

npm i @umijs/ui-types

Weekly Downloads

9

Version

2.2.0

License

MIT

Unpacked Size

18.5 kB

Total Files

9

Last publish

Collaborators

  • yifankakaxi
  • xierenyuan
  • stormslowly
  • xiefengnian
  • sorrycc
  • chenshuai2144
  • kuitos
  • peachscript
  • xiaohuoni