File tree Expand file tree Collapse file tree
app/components/03.organisms/treatment-consultant/stories Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import type { Meta , StoryObj } from "@nuxtjs/storybook" ;
2+ import TreatmentConsultant from "../TreatmentConsultant.vue" ;
3+
4+ const meta : Meta < typeof TreatmentConsultant > = {
5+ title : "Organisms/TreatmentConsultant" ,
6+ component : TreatmentConsultant ,
7+ argTypes : {
8+ autoAdvance : {
9+ control : "boolean" ,
10+ description : "Automatically advance to the next step after selection" ,
11+ } ,
12+ } ,
13+ } ;
14+
15+ export default meta ;
16+ type Story = StoryObj < typeof TreatmentConsultant > ;
17+
18+ // ─── Stories ─────────────────────────────────────────────────────────────────
19+
20+ export const Default : Story = {
21+ args : {
22+ autoAdvance : true ,
23+ } ,
24+ render : ( args ) => ( {
25+ components : { TreatmentConsultant } ,
26+ setup ( ) {
27+ return { args } ;
28+ } ,
29+ template : `
30+ <TreatmentConsultant v-bind="args" />
31+ ` ,
32+ } ) ,
33+ } ;
You can’t perform that action at this time.
0 commit comments