import React from "react"; import { Meta, StoryObj } from "@storybook/react-webpack5"; import { SearchSelect } from "./SearchSelect"; const meta: Meta = { component: SearchSelect, title: "Primitives/Search Select", argTypes: {}, }; export default meta; type Story = StoryObj; const data = [ { value: "dress-shirt-striped", label: "Striped Dress Shirt EWAKIFJHGADJKSFBADJKSGH", }, { value: "relaxed-button-down", label: "Relaxed Fit Button Down", }, { value: "slim-button-down", label: "Slim Fit Button Down", }, { value: "dress-shirt-solid", label: "Solid Dress Shirt", }, { value: "dress-shirt-check", label: "Check Dress Shirt", }, ]; export const Variants: Story = { render: (args) => (
console.log(e)} items={data} /> console.log(e)} items={data} placeholder="Search for item" /> console.log(e)} items={data} value="relaxed-button-down" />
), args: {}, };