@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.
34 lines (31 loc) • 1.27 kB
JavaScript
import RegistrationPage from './RegistrationPage.vue';
import mockGetTournamentId from "../../../mocks/getTournamentById.js";
import mockGetCard from "../../../mocks/getCart.js"
export default {
title: 'Templates/RegistrationPage',
component: RegistrationPage,
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,
cart: mockGetCard
},
};
export const AllLoading = {
args: {
title: 'Discover, Compete, Connect',
imageSrc: 'https://meyersquaredimages.com/images/banners/thinbanner01.jpg',
tournament: mockGetTournamentId,
apiKey: 'AIzaSyC5kuJeMLopgjHDqsQPjRZ6Fkg3PFydw9Q',
cart: mockGetCard
},
};