@saiforceone/dirt-cli
Version:
Official CLI Utility for the D.I.R.T stack
27 lines (22 loc) • 517 B
text/typescript
import type { Meta, StoryObj } from '@storybook/vue3';
import Note from '~/components/shared/Note.vue';
const meta: Meta<typeof Note> = {
title: 'Shared/Note',
component: Note,
};
export default meta;
type Story = StoryObj<typeof Note>;
// @ts-ignore
export const Primary: Story = {
render: (args) => ({
components: { Note },
setup() {
return args;
},
template: '<Note primary v-bind="args" />',
}),
args: {
labelText: 'Some Note',
content: 'Some content here...',
},
};