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

2.2.2 • Public • Published

umi ui types

Type definitions for umi ui.

发布注意

  • 需提前生成lib目录

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

Readme

Keywords

none

Package Sidebar

Install

npm i @radjs/ui-types

Weekly Downloads

0

Version

2.2.2

License

MIT

Unpacked Size

18.6 kB

Total Files

9

Last publish

Collaborators

  • zxblovelc