import { storiesOf } from '@storybook/vue'
import { postLink } from '../PostLink.stories'
import PurePostList from './PurePostList'
export const posts = Array(5).fill(postLink)
storiesOf('PurePostList', module)
.add('default', () => {
return {
components: { PurePostList },
template: ``,
data: () => ({ posts })
}
})
.add('loading', () => {
return {
components: { PurePostList },
template: ``
}
})
.add('no posts', () => {
return {
components: { PurePostList },
template: ``
}
})