@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.
23 lines (20 loc) • 538 B
JavaScript
import FencerProfile from './FencerProfile.vue'
import fencerStats from '../../../mocks/getFencerStats.js'
export default {
title: 'Templates/FencerProfile',
component: FencerProfile,
argTypes: {
fencerStats: { control: 'object' },
},
}
const Template = (args) => ({
components: { FencerProfile },
setup() {
return { args }
},
template: '<FencerProfile v-bind="args" />',
})
export const Default = Template.bind({})
Default.args = {
fencerStats: fencerStats,
};