@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.
31 lines (29 loc) • 1.21 kB
JavaScript
import HomePage from './TournamentDetailPage.vue';
import mockGetTournamentId from "../../../mocks/getTournamentById.js";
export default {
title: 'Templates/TournamentDetailsPage',
component: HomePage,
argTypes: {
'button-click': { action: 'button-click' },
title: { control: 'text', description: 'Title for the HeroBanner' },
description: { control: 'text', description: 'Description for the HeroBanner' },
buttonLabel: { control: 'text', description: 'Button label for the HeroBanner' },
imageSrc: { control: 'text', description: 'Image source for the HeroBanner' },
},
};
export const Default = {
args: {
title: mockGetTournamentId.Name,
imageSrc: 'https://meyersquaredimages.com/images/banners/thinbanner01.jpg',
tournament: mockGetTournamentId,
apiKey: 'AIzaSyC5kuJeMLopgjHDqsQPjRZ6Fkg3PFydw9Q',
},
};
export const AllLoading = {
args: {
title: 'Discover, Compete, Connect',
imageSrc: 'https://meyersquaredimages.com/images/banners/thinbanner01.jpg',
tournament: mockGetTournamentId,
apiKey: 'AIzaSyC5kuJeMLopgjHDqsQPjRZ6Fkg3PFydw9Q',
},
};