@xiumu/wood-ui
v1.0.1
Published
桌面和移动端react组件库
Downloads
2
Maintainers
Readme
wood-ui
Getting Started
install
yarn add @xiumu/wood-ui
usesing
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>
</>
);
}