https://zarm.gitee.io
    Zarm组件 https://zarm.gitee.io/#/components/button

    1. yarn add zarm
    2. import React from 'react';
    3. import { render } from 'react-dom';
    4. import { ConfigProvider, Button } from 'zarm';
    5. import zhCN from 'zarm/lib/config-provider/locale/zh_CN';
    6. import 'zarm/dist/zarm.css';
    7. const App = () => {
    8. return (
    9. <ConfigProvider locale={zhCN}>
    10. <div style={{ width: 400, margin: '100px auto' }}>
    11. <Button theme="primary">Hello World!</Button>
    12. </div>
    13. </ConfigProvider>
    14. );
    15. };
    16. render(<App />, document.getElementById('root'));

    image.png