Skip to content

Commit

Permalink
fix(stories): give grid props to stories using vs-container (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
seaneez authored May 30, 2024
1 parent b0959e6 commit 37d6dca
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const Width: Story = {
return { args };
},
template: `
<vs-container row-gap="20px">
<vs-container grid row-gap="20px">
<vs-index-view v-bind="args">
<vs-index-item key="A"><h1> First Index View </h1>${LOREM_IPSUM}</vs-index-item>
</vs-index-view>
Expand Down Expand Up @@ -159,7 +159,7 @@ export const WidthWithTabs: Story = {
return { args, tabAList, tabBList, tabA, tabB, updateTabA, updateTabB };
},
template: `
<vs-container row-gap="20px">
<vs-container grid row-gap="20px">
<vs-wrapper :width="args.width" :grid="args.grid">
<vs-tabs :tabs="tabAList" v-model="tabA" @update:modelValue="updateTabA" v-bind="args"/>
<vs-index-view v-model="tabA" v-bind="args">
Expand Down Expand Up @@ -190,7 +190,7 @@ export const Grid: Story = {
return { args };
},
template: `
<vs-container column-gap="40px">
<vs-container grid column-gap="40px">
<vs-index-view v-bind="args">
<vs-index-item key="A"><h1> First Index View </h1>${LOREM_IPSUM}</vs-index-item>
</vs-index-view>
Expand Down Expand Up @@ -225,7 +225,7 @@ export const GridWithTabs: Story = {
return { args, tabAList, tabBList, tabA, tabB, updateTabA, updateTabB };
},
template: `
<vs-container column-gap="40px">
<vs-container grid column-gap="40px">
<vs-wrapper :width="args.width" :grid="args.grid">
<vs-tabs :tabs="tabAList" v-model="tabA" @update:modelValue="updateTabA" v-bind="args"/>
<vs-index-view v-model="tabA" v-bind="args">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const Grid: Story = {
return { args };
},
template: `
<vs-container column-gap="40px">
<vs-container grid column-gap="40px">
<vs-stepper v-bind="args" />
<vs-stepper v-bind="args" />
</vs-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const Grid: Story = {
return { args };
},
template: `
<vs-container row-gap="5px">
<vs-container grid row-gap="5px">
<vs-switch v-bind="args" />
<vs-switch v-bind="args" />
</vs-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const Width: Story = {
return { args };
},
template: `
<vs-container row-gap="20px">
<vs-container grid row-gap="20px">
<vs-tabs v-bind="args" />
<vs-tabs v-bind="args" />
</vs-container>
Expand All @@ -108,7 +108,7 @@ export const Grid: Story = {
return { args };
},
template: `
<vs-container column-gap="40px">
<vs-container grid column-gap="40px">
<vs-tabs v-bind="args" />
<vs-tabs v-bind="args" />
</vs-container>
Expand Down

0 comments on commit 37d6dca

Please sign in to comment.