import { Meta, StoryObj } from "@storybook/react"; import { ComboInput } from "."; import { MaterialIcon } from "../../Icons/MaterialIcon"; import { IconButton } from "../../Buttons/IconButton"; import { Input } from "../Atoms/Input"; import { NumberField } from "../NumberField"; import { FieldInput } from "../Field/FieldInput"; import { Group } from "@components/Layout/Group"; import { Text } from "@components/Typography/Text"; import { RenderPropsArgTypes } from "@sb/helpers"; export default { title: "Fields/ComboInput", component: ComboInput, parameters: { layout: "centered", }, argTypes: { ...RenderPropsArgTypes, padding: { control: "select", options: ["left", "right", "both"], }, }, } as Meta; type Story = StoryObj; export const Primary: Story = { args: { children: [ , , ], padding: "both", }, }; export const NumberInputWithSearch: Story = { render: (args) => , args: { padding: "left", children: [ , /10 , , ], }, }; export const NumberFieldWithButtons: Story = { render: (args) => ( ), args: { padding: "left", }, };