UNPKG

@dcrackel/meyersquaredui

Version:

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

27 lines (23 loc) 649 B
import TournamentCard from './TournamentCard.vue'; import mockTournaments from "../../../../mocks/getTournamentsMock.js"; export default { title: 'Organisms/Cards/Tournament/TournamentCard', component: TournamentCard, }; const Template = (args) => ({ components: { TournamentCard }, setup() { return { args }; }, template: '<TournamentCard v-bind="args" />', }); export const Default = Template.bind({}); Default.args = { data: mockTournaments[0], isLoading: false }; export const Loading = Template.bind({}); Loading.args = { data: mockTournaments[0], isLoading: true };