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

1.18.11 • Public • Published

@sinoform/global-ui

此模块主要用来做全局基础 UI 的替换,目前仅支持 message 和 Confirm 两个组件。

使用方式

import globalUI from '@sinoform/global-ui';

globalUI.message.info('xxx');

<globalUI.Confirm
  message="xxx"
  onOk={() => console.log('确定按钮被点击')}
></globalUI.Confirm>;

Dependents (11)

Package Sidebar

Install

npm i @sinoform/global-ui

Weekly Downloads

60

Version

1.18.11

License

MIT

Unpacked Size

8 kB

Total Files

18

Last publish

Collaborators

  • jackingliu
  • maitian0222
  • tianyanqiu
  • longniansheng