Sha256: 81dc3f53086cda0aebd6b01d2f3f96c8fe5bb543f56b4cba8529e5c40831cc29
Contents?: true
Size: 919 Bytes
Versions: 2
Compression:
Stored size: 919 Bytes
Contents
// @flow import React from 'react' import { Tooltip, Flex, FlexItem } from '../..' import './styles.css' const TooltipTruncated = (props) => { return ( <Flex flexDirection='row' gap='md' justifyContent='center' wrap > <FlexItem> <Tooltip className='tooltip-text-truncation' style={{ 'backgroundColor': 'red' }} text='This is a truncated tooltip trigger.' truncatable zIndex={10} {...props} > {'This is a truncated tooltip trigger.'} </Tooltip> </FlexItem> <FlexItem> <Tooltip className='tooltip-text-truncation' text='This is a truncated tooltip trigger.' truncatable zIndex={10} {...props} > {'This'} </Tooltip> </FlexItem> </Flex> ) } export default TooltipTruncated
Version data entries
2 entries across 2 versions & 2 rubygems