blob: ac0114b4291a36d1e47bf88b202ad2675eaf125d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import { storiesOf } from '@storybook/vue'
import { center } from '../../.storybook/decorators'
import RankingEntry from './RankingEntry'
export const rankingEntry = {
troop: 'Trzewikodzioby',
points: 32
}
storiesOf('Ranking/RankingEntry', module)
.addDecorator(center)
.add('default', () => {
return {
components: { RankingEntry },
template: `<ranking-entry :troop="troop" :points="points" />`,
data: () => rankingEntry
}
})
|