0.0.2 • Published 4 years ago

use-father v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

use-father

开发组件库的基础环境

开发环境的使用

  • git clone git@github.com:tsinglemon/use-father.git
  • 如果只是想用这个环境,可以把本身的.git替换成自己的.git
  • /src下的文件夹分别为组件,最后通过index.js导出
  • 组件里的.mdx文件用于写组件文档

使用组件(用于走通流程)

import {Foo, Input} from 'use-father';

export default function () {
  return (
    <div>
      <Foo size="large">hello, world</Foo>
      <Input/>
    </div>
  
  );
}