import React from 'react' ; import { OverflowTooltip } from '@workday/canvas-kit-react/tooltip' ; export const LineClamp = ( ) => { return ( < OverflowTooltip > < button > < span style = { { display : '-webkit-box' , overflow : 'hidden' , maxWidth : 200 , WebkitBoxOrient : 'vertical' , WebkitLineClamp : 3 , } } > Super Mega Ultra Long Content With Max Width . Super Mega Ultra Long Content With Max Width . < /span> < /button> < /OverflowTooltip>); } ;