UNPKG

sc-react-ions

Version:

An open source set of React components that implement Ambassador's Design and UX patterns.

14 lines (11 loc) 855 B
import React from 'react' import Tooltip from 'react-ions/lib/components/Tooltip' const ExampleTooltipDefault = () => ( <p>Umami four dollar toast craft beer polaroid <Tooltip content='Testing the right tooltip with_a_really_long_connected_string_here' tooltipPlacement={'right'}> <a href='#'>right</a></Tooltip> tooltip, synth keytar echo park whatever sustainable <Tooltip content='Testing the left tooltip' tooltipPlacement={'left'}> <a href='#'>left</a></Tooltip> tooltip. Poutine cardigan gentrify, tumblr meggings <Tooltip content='Testing the bottom tooltip' tooltipPlacement={'bottom'}> <a href='#'>bottom</a></Tooltip> tooltip sriracha brunch offal plaid beard. Cronut cliche cred pabst <Tooltip content='No longer has access to this campaign'> <a href='#'>top</a></Tooltip> tooltip. </p> ) export default ExampleTooltipDefault