Skip to content

Commit

Permalink
Testing the branch correctness - ComboboxFix
Browse files Browse the repository at this point in the history
  • Loading branch information
ser888gio committed Nov 21, 2024
1 parent 9fffa24 commit 29fd9b3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions apps/design-system/stories/checkboxOption.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import type { Meta, StoryObj } from "@storybook/react";
import { CheckboxSelectField } from "../../../packages/design-system/src/ui/input/combobobx/checkboxSelect/checkboxField";
import { SearchIcon, HomeIcon } from "@repo/design-system/demo";

const meta: Meta<typeof CheckboxSelectField> = {
title: "Components/CheckboxSelectField",
component: CheckboxSelectField,
argTypes: {
label: { control: "text" },
error: { control: "text" },
showClearButton: { control: "boolean" },
icon: {
control: { type: "select" },
options: [undefined, "Search", "Home"],
mapping: {
Search: SearchIcon,
Home: HomeIcon,
},
},
},
tags: ["autodocs"],
};

type CheckboxSelectFieldStory = StoryObj<typeof meta>;

export const Default: CheckboxSelectFieldStory = {
args: {},
};

export default meta;

0 comments on commit 29fd9b3

Please sign in to comment.