Skip to content

使用React基于Antd开发的一些组件,包括Skeleton、 IconFont、Cron、Tree、TooltipText、ExportBtn、 FormLayout等

Notifications You must be signed in to change notification settings

mkgrow/szdt-admin-components

Repository files navigation

✨ Online preview

https://mkgrow.github.io/szdt-admin-components/#/

📦 Install

npm install szdt-admin-components
yarn add szdt-admin-components

🔨 Usage

import React from 'react';
import { IconFont, IconText, Skeleton, TooltipText } from 'szdt-admin-components';

const App = () => (
  <>
    <IconFont type="icon-define" size="16px" />
    <IconText icon={TeamOutlined} text="测试" />
    <Skeleton loading row={2} count={3} height={120}>
      content
    </Skeleton>
    <div style={{ width: '40px' }}>
      <TooltipText rowNumber={1} text="测试文本" />
    </div>
  </>
);

⌨️ Development

clone locally:

$ git clone [email protected]:mkgrow/szdt-admin-components.git
$ cd szdt-admin-components
$ npm install
$ npm start

Open your browser and visit http://localhost:8000

🤖 Command introduction

Name Description Remarks
npm install Install dependencies -
npm start Project begining Document usage dumi, component development and documentation development together
npm test Component test -
npm run test:coverage Code coverage review -
npm run prettier Code prettier -
npm run build Component packaging Use father
npm run docs:build Document packaging -
npm run docs:deploy Document release The default is to use GitHub Pages
npm run deploy Document package release -

🔗 Links

About

使用React基于Antd开发的一些组件,包括Skeleton、 IconFont、Cron、Tree、TooltipText、ExportBtn、 FormLayout等

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published