UNPKG

@momentum-ui/react-collaboration

Version:

Cisco Momentum UI Framework for React Collaboration Applications

9 lines 597 B
import React from 'react'; import { Button, Popover } from '@momentum-ui/react-collaboration'; export default function PopoverOffset() { var contentOffset = (React.createElement("span", { key: "1", style: { padding: '10px' } }, "Offset")); return (React.createElement("div", { className: "docs-example docs-example--spacing" }, React.createElement(Popover, { content: contentOffset, direction: 'top-center', targetOffset: { vertical: 20 } }, React.createElement(Button, { id: "offset", children: "offset", ariaLabel: "offset" })))); } //# sourceMappingURL=Offset.js.map