import React from 'react';
import {storiesOf} from '@storybook/react';
import {withInfo} from '@storybook/addon-info';
import LoadingIndicator from 'app/components/loadingIndicator';
storiesOf('UI|Loaders/LoadingIndicator', module)
.add(
'all',
withInfo('Loading indicators. Triangle has negative margins.')(() => (
Default
Mini
Triangle
Finished
))
)
.add(
'default',
withInfo('Default loading indicator')(() => (
Loading message
))
)
.add(
'mini',
withInfo('Small loading indicator')(() => (
Loading message
))
)
.add(
'triangle',
withInfo('Triangle loading indicator. Be aware it has negative margins.')(() => (
Loading message
))
)
.add(
'finished',
withInfo('Add finished loading')(() => (
Finished message
))
);