Loader.stories.tsx 364 Bytes
Newer Older
Andrey Azov's avatar
Andrey Azov committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import React, { useState } from 'react';
import { storiesOf } from '@storybook/react';

import { CircleLoader } from 'src/shared/loader/Loader';

import styles from './Loader.stories.scss';

storiesOf('Components|Shared Components/Loader', module).add(
  'full-page',
  () => (
    <div className={styles.fullPageWrapper}>
      <CircleLoader />
    </div>
  )
);