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.

29 lines (24 loc) 642 B
import PhotoCard from './PhotoCard.vue'; import mockAllClubs from "../../../../mocks/getAllClubs.js"; export default { title: 'Organisms/Cards/PhotoCard', component: PhotoCard, argTypes: { data: { control: 'object' }, }, }; const Template = (args) => ({ components: { PhotoCard }, setup() { return { args }; }, template: '<PhotoCard v-bind="args" />', }); export const Default = Template.bind({}); Default.args = { data: mockAllClubs[0].Images[1] }; export const WithoutTitle = Template.bind({}); WithoutTitle.args = { data: mockAllClubs[0].Images[2] };