1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-15 15:50:06 +02:00
copilot/packages/ui-toolkit/src/dropdown/usage.md

11 lines
279 B
Markdown
Raw Normal View History

```
const Dropdown = require('./index').default;
const Label = require('../form/label').default;
<div style={{ position: 'relative', height: '175px' }}>
<Label>Service</Label>
<Dropdown placeholder="Choose" data={["Wordpress", "Nginx", "Percona"]}>
</Dropdown>
</div>
```