blob: 20bf6e15669a2ff4832e12df140fc81bf4d6837b (
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: 'Test',
points: 32
}
storiesOf('Ranking/RankingEntry', module)
.addDecorator(center)
.add('default', () => {
return {
components: { RankingEntry },
template: `<ranking-entry :troop="troop" :points="points" />`,
data: () => rankingEntry
}
})
|