4leaf-antd 中文文档教程
Install
npm install 4leaf-antd
yarn add 4leaf-antd
Usage
import { Button, DatePicker } from '4leaf-antd';
const App = () => (
<>
<Button type="primary">PRESS ME</Button>
<DatePicker placeholder="select date" />
</>
);
并手动导入样式:
import '4leaf-antd/dist/antd.css'; // or 'antd/dist/antd.less'
???? Install
npm install 4leaf-antd
yarn add 4leaf-antd
???? Usage
import { Button, DatePicker } from '4leaf-antd';
const App = () => (
<>
<Button type="primary">PRESS ME</Button>
<DatePicker placeholder="select date" />
</>
);
And import style manually:
import '4leaf-antd/dist/antd.css'; // or 'antd/dist/antd.less'