import {Fragment} from 'react'; import styled from '@emotion/styled'; import Truncate from 'sentry/components/truncate'; export default { title: 'Utilities/Text/Truncate', component: Truncate, }; export const TruncateAndExpandOnHover = () => ( ); TruncateAndExpandOnHover.storyName = 'Truncate and Expand on Hover'; export const TruncateWithRegex = () => ( ); TruncateWithRegex.storyName = 'Truncate with Regex'; const Wrapper = styled('div')` display: flex; justify-content: flex-${p => p.position || 'start'}; `;