import type { Meta, StoryObj } from "@storybook/react"; import { ButtonIconSelect } from "./ButtonIconSelect"; import { withActions } from "@storybook/addon-actions/decorator"; import { faAngleLeft, faAngleRight } from "@fortawesome/pro-solid-svg-icons"; const meta: Meta = { component: ButtonIconSelect, parameters: { actions: { handles: ["click"], }, }, decorators: [withActions], }; type Story = StoryObj; export const Default: Story = { render: () => ( {}} options={[ { value: "V1", icon: faAngleLeft, text: "Select 1", }, { value: "V2", icon: faAngleRight, text: "Select 2", }, ]} /> ), }; export default meta;