1
0
mirror of https://github.com/yldio/copilot.git synced 2025-01-09 18:40:12 +02:00
copilot/packages/ui-toolkit/src/tooltip/usage.md

16 lines
456 B
Markdown
Raw Normal View History

2017-05-30 16:06:18 +03:00
```
const Tooltip = require('./index').default;
const TooltipButton = require('./button').default;
const TooltipDivider = require('./divider').default;
<div style={{ position: 'relative', height: '175px' }}>
<Tooltip top='5px' left='60px'>
<TooltipButton>Scale</TooltipButton>
<TooltipButton>Restart</TooltipButton>
<TooltipDivider />
<TooltipButton>Stop</TooltipButton>
<TooltipButton>Delete</TooltipButton>
</Tooltip>
</div>
```