/* Copyright 2026 Marimo. All rights reserved. */ /* oxlint-disable react-hooks/rules-of-hooks */ import type { Meta, StoryObj } from "@storybook/react-vite"; import { useState } from "react"; import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, } from "@/components/ui/select"; const meta: Meta = { title: "Select", component: Select, args: {}, }; export default meta; type Story = StoryObj; export const Primary: Story = { render: (args, ctx) => ( ), }; export const Clearable: Story = { render: (args, ctx) => { const [value, setValue] = useState(""); return ( <> Value: {value} ); }, };