4.0.12 • Published 1 year ago

yyd-lib v4.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

yyd-lib

NPM version NPM downloads

一个使用dumi2搭建的react组件和工具库demo

文档地址

https://dumi.guojiongwei.top

demo教程博客文章地址

【前端工程化】使用dumi2搭建你的组件库和函数库 https://guojiongwei.top/article/6437c396a751b6075b5eb213

安装

安装组件库

$ npm i yyd-lib -S

使用

import React from 'react';
import { Button } from 'yyd-lib';

export default () => {

  return (
    <>
      <Button type="default">默认按钮</Button> &nbsp;
      <Button type="primary">主要按钮</Button>
    </>
  );
}

LICENSE

MIT