A react library developed with dumi
推荐使用 npm 的方式安装,它能更好地和webpack
打包工具配合使用。
npm install xyl-design --save
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'xyl-design';
ReactDOM.render(
<Button type="primary">Primary</Button>,
document.getElementById('root'),
);
MIT