import { Meta, Story, Preview } from '@storybook/addon-docs/blocks';
import * as Stories from './examples';

<Meta title="Components|ImageBackground" />

# ImageBackground

A image component with support for child content.

## Props

| Name                      | Type      | Default |
| ------------------------- | --------- | ------- |
| ...ImagePropTypes         | | |
| children                  | ?any   | |
| imageStyle                | ?Style  | |

### children

Content to display over the image.

<Preview withSource='none'>
  <Story name="children">
    <Stories.children />
  </Story>
</Preview>
