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

2.0.2 • 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 @wetrial/ui-types

Weekly Downloads

1

Version

2.0.2

License

MIT

Unpacked Size

18.3 kB

Total Files

6

Last publish

Collaborators

  • xiexingen