yarn add @xiumu/wood-ui
import React from 'react';
import { Button, Block, Demo } from '@xiumu/wood-ui';
export default function App() {
return (
<>
<Demo title="Button-demo"/>
<Block title="基础按钮">
<Button>Default</Button>
<Button active>Outline</Button>
<Button danger>Danger</Button>
<Button type="primary">Primary</Button>
<Button type="primary" danger>
Primary
</Button>
</Block>
</>
);
}