import React from 'react'; import {withInfo} from '@storybook/addon-info'; import FlowLayout from 'app/components/flowLayout'; import SpreadLayout from 'app/components/spreadLayout'; export default { title: 'Deprecated/ComponentLayouts/FlowLayout', }; export const Row = withInfo('Horizontal row with vertical centering')(() => (
Flow
Layout
Flow
Layout
)); Row.story = { name: 'row', }; export const Column = withInfo('Vertical column with horizontal centering')(() => (
Flow
Layout
Flow
Layout
)); Column.story = { name: 'column', }; export const LongContentTruncate = withInfo( 'When you use with content that does not get wrapped and overflows, by default hide overflow.' )(() => (

With "truncate"

Very very long content Very very long content Very very long content Very very long content
Important

Without "truncate"

Very very long content Very very long content Very very long content Very very long content
Important
)); LongContentTruncate.story = { name: 'long content (truncate)', };