Nifty Procrastination Machine

    @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

    Keywords

    none

    Install

    npm i @umijs/ui-types

    DownloadsWeekly Downloads

    11

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    18.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • stormslowly
    • xiefengnian
    • sorrycc
    • zinkey
    • yutingzhao1991
    • chenshuai2144
    • fan576679268
    • kuitos
    • zombiej
    • peachscript
    • xiaohuoni