import { Meta, Story, Preview, Props } from '@storybook/addon-docs/blocks';
import { Spinner } from './Spinner';

<Meta title="MDX|Spinner" component={Spinner} />

# Spinner

Spinner is `fa-spinner` icon animated. It is used to alert a user to wait for an activity to complete.

<Preview>
  <div>
    <Spinner />
    <Spinner className="my-spin-div" iconClassName="my-spinner-classname" size={24} />
  </div>
</Preview>

<Props of={Spinner} />
