maycur-cloud
TypeScript icon, indicating that this package has built-in type declarations

1.0.53 • Public • Published

maycur-cloud 每刻云票公共组件库

安装

npm install maycur-cloud

使用

import { CurrencyPrefix } from 'maycur-cloud';

const App = () => (
    <CurrencyPrefix amunt={100} />
);

按需加载

需要在config-overrides.js中加入以下配置

fixBabelImports('maycur-cloud', {
    libraryName: 'maycur-cloud',
    libraryDirectory: 'es',
    style: true,
    camel2DashComponentName: false,
}),

或者在.babelrc中加入plugins

{
    "plugins": [
        [
            "import",
            {
                "libraryName": "maycur-cloud",
                "style": true,
                "libraryDirectory": "es",
                "camel2DashComponentName": false
            },
            "maycur-cloud"
        ],
    ]
}

Readme

Keywords

Package Sidebar

Install

npm i maycur-cloud

Weekly Downloads

5

Version

1.0.53

License

MIT

Unpacked Size

375 kB

Total Files

167

Last publish

Collaborators

  • zengxj
  • lianjiewang
  • rongwei_alisa
  • hellodon
  • hy0228
  • liuheyan
  • weixiang0826
  • taojinkun_npm
  • jianganglu
  • kldn
  • xinbo97
  • kaisa
  • julyryans
  • linqiang63
  • jiajiay0326
  • ganyurou
  • xuxianzhe
  • chenhangbin111
  • songqy