@positive-map/rc-components
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

@positive-map/rc-components

Positive Map 基于 React 18 + Antd 5 的业务组件库

特性

  • 基于 React 18 + Antd 5
  • 按需加载
  • 支持 TypeScript

安装

$ npm install @positive-map/rc-components --save-dev

使用

// 业务代码
import { NumericKeyboard } from '@positive-map/rc-components';

按需加载

方式一:精确加载

import NumericKeyboard from '@positive-map/rc-components/lib/NumericKeyboard';

方式二:babel-plugin-import

// babel.config.js
module.exports = {
  plugins: [
    [
      'import',
      {
        libraryName: '@positive-map/rc-components',
        libraryDirectory: 'lib',
        camel2DashComponentName: false,
      },
    ],
  ],
};

Package Sidebar

Install

npm i @positive-map/rc-components

Weekly Downloads

0

Version

1.0.13

License

none

Unpacked Size

4.12 MB

Total Files

41

Last publish

Collaborators

  • positive-2023