import React from 'react';
import {storiesOf} from '@storybook/react';
import {withInfo} from '@storybook/addon-info';
import FlowLayout from 'app/components/flowLayout';
import SpreadLayout from 'app/components/spreadLayout';
storiesOf('Deprecated|ComponentLayouts/FlowLayout', module)
.add(
'row',
withInfo('Horizontal row with vertical centering')(() => (
Flow
Layout
Flow
Layout
))
)
.add(
'column',
withInfo('Vertical column with horizontal centering')(() => (
Flow
Layout
Flow
Layout
))
)
.add(
'long content (truncate)',
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
))
);