Skip to content

m430/antd-pro-toolkit

Repository files navigation

antd-pro-toolkit

🐜 ant design pro toolkit is an advance common components library.

Usage

npm install --save antd-pro-toolkit
import { SlideVerify } from 'antd-pro-toolkit';

Dependency

  • antd
  • lodash

Components

  • AvatarList
  • CountDown
  • Ellipsis
  • Headline
  • NumberInfo
  • ScrollSelect
  • SlideVerify
  • TabCascader
  • Timeline
  • Trend
  • Uploader

token

Some story need to comunicate with server to fetch data, and need to login first, so you need to create a token file(token.js) like below, otherwise you will get some error.

import Des from './utils/des';

export const username = "user"
export const password = Des.enc("*******")