Sha256: 2ba4576060e3019bc0fa5a697a791783fc0614b47a57ece8494e36d4eb9db789
Contents?: true
Size: 1.08 KB
Versions: 4
Compression:
Stored size: 1.08 KB
Contents
// @flow import React from 'react' import { Tooltip, Flex, FlexItem } from 'playbook-ui'; const TooltipDefaultReact = (props) => { return ( <Flex flexDirection='row' gap='md' wrap > <FlexItem> <Tooltip placement='top' text="Whoa. I'm a Tooltip" zIndex={10} {...props} > {'Hover here (Top)'} </Tooltip> </FlexItem> <FlexItem> <Tooltip placement='bottom' text="Whoa. I'm a Tooltip" zIndex={10} {...props} > {'Hover here (Bottom)'} </Tooltip> </FlexItem> <FlexItem> <Tooltip placement='right' text="Whoa. I'm a Tooltip" zIndex={10} {...props} > {'Hover here (Right)'} </Tooltip> </FlexItem> <FlexItem> <Tooltip placement='left' text="Whoa. I'm a Tooltip" zIndex={10} {...props} > {'Hover here (Left)'} </Tooltip> </FlexItem> </Flex> ) } export default TooltipDefaultReact
Version data entries
4 entries across 4 versions & 2 rubygems