joyent-portal/packages/ui-toolkit/src/popover
2018-05-17 18:14:00 +01:00
..
__tests__ feat(instances): bug fixes #1387 2018-05-17 18:14:00 +01:00
divider.js feat(ui-toolkit): remove all margins 2018-05-08 15:32:10 +01:00
index.js refactor(instances): refactor create instance flow 2018-05-08 15:32:10 +01:00
item.js feat(instances): bug fixes #1387 2018-05-17 18:14:00 +01:00
Readme.md chore: cleanup deps and flows 2018-02-28 11:18:40 +00:00

const React = require('react');
const { default: Popover, Container, Target, Item, Divider } = require('./');
const { Row } = require('joyent-react-styled-flexboxgrid');

<Row center="xs" between="xs" style={{ marginTop: 80 }}>
  <Container>
    <Target>Hello</Target>
    <Popover placement="right">
      <Item>Scale</Item>
      <Item>Restart</Item>
      <Item>Stop</Item>
      <Divider />
      <Item>Delete</Item>
    </Popover>
  </Container>
</Row>;