Skip to content

Commit

Permalink
Remove variant from VHomeLink story
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Dec 2, 2024
1 parent ee6ed10 commit 17f37d7
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions frontend/src/components/VHeader/meta/VHomeLink.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ import type { Meta, StoryObj } from "@storybook/vue3"
const meta = {
title: "Components/VHeader/HomeLinks/VHomeLink",
component: VHomeLink,

argTypes: {
variant: {
control: "select",
options: ["dark", "light"],
},
},
args: {
variant: "dark",
},
} satisfies Meta<typeof VHomeLink>

export default meta
Expand All @@ -26,9 +16,7 @@ export const Default: Story = {
render: (args) => ({
components: { VHomeLink },
setup() {
const bg = args.variant === "dark" ? "bg-default" : "bg-black"
return () =>
h("div", { class: `flex p-4 ${bg}` }, h(VHomeLink, { ...args }))
return () => h("div", { class: `flex p-4` }, h(VHomeLink, { ...args }))
},
}),
name: "Default",
Expand Down

0 comments on commit 17f37d7

Please sign in to comment.