import React from 'react'
import PropTypes from 'prop-types'
import { storiesOf } from '@storybook/react'
import { BackgroundPrimary, BackgroundTertiary, BackgroundSecondary, Page } from 'components/UI'
import { Content } from '../helpers'
const Wrapper = ({ children }) => (
{children}
)
Wrapper.propTypes = {
children: PropTypes.node
}
storiesOf('Components', module).addWithChapters('Background', {
chapters: [
{
sections: [
{
options: {
decorator: story => {story()}
},
sectionFn: () => (
BackgroundPrimary
)
},
{
options: {
decorator: story => {story()}
},
sectionFn: () => (
BackgroundSecondary
)
},
{
options: {
decorator: story => {story()}
},
sectionFn: () => (
BackgroundTertiary
)
}
]
}
]
})