Files
probo/packages/ui/src/Atoms/Select/Select.stories.tsx
Jonathan 15cf471454 Add UI input & textarea
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-06-13 13:23:39 -07:00

32 lines
804 B
TypeScript

import { Select, Option } from "./Select";
import type { Meta, StoryObj } from "@storybook/react";
export default {
title: "Atoms/Form/Select",
component: Select,
argTypes: {},
} satisfies Meta<typeof Select>;
type Story = StoryObj<typeof Select>;
export const Default: Story = {
args: {
placeholder: "Select an option",
children: (
<>
<Option value="apple">Apple</Option>
<Option value="banana">Banana</Option>
<Option value="blueberry">Blueberry</Option>
<Option value="grapes">Grapes</Option>
<Option value="pineapple">Pineapple</Option>
</>
),
},
};
export const NoChildren: Story = {
args: {
placeholder: "Select an option",
},
};