import React from 'react'; import {withInfo} from '@storybook/addon-info'; import TextOverflow from 'app/components/textOverflow'; export default { title: 'Style/Text', }; export const _TextOverflow = withInfo( 'Simple component that adds "text-overflow: ellipsis" and "overflow: hidden", still depends on container styles' )(() => (
AReallyLongTextString
)); _TextOverflow.story = { name: 'TextOverflow', };