import { storiesOf } from '@storybook/vue' import { center } from '../../.storybook/decorators' import RankingList from './RankingList' import { rankingEntry } from './RankingEntry.stories' const rankingList = { scores: Array(3).fill(rankingEntry) } storiesOf('Ranking/RankingList', module) .addDecorator(center) .add('default', () => { return { components: { RankingList }, template: ``, data: () => rankingList } })