import { action } from '@storybook/addon-actions';
import { Meta, Story, Props } from '@storybook/addon-docs/blocks';
import { Image } from '../src/index';

<Meta title="Components|Image" component={Image} />

# Image

The Image component provides an easy way to add lazy loading images to the
page and keeps styling consistent for all images.

<Props of={Image} />

<Story name="simple">
  <Image src="https://bit.ly/2oPVoTB" alt="Test image" height="250px" />
</Story>
