import React from "react"; import { loremIpsum } from "react-lorem-ipsum"; import { Meta, StoryFn } from "@storybook/react"; import { fn } from "storybook/test"; import { helpersArgTypes } from "../../../.storybook/helpers"; import { Button, Depiction, MenuItem, Select } from "../../index"; import { FullExample as DepictionExample } from "../Depiction/stories/Depiction.stories"; export default { title: "Forms/Select", component: Select, argTypes: { icon: { ...helpersArgTypes.exampleIcon, }, rightIcon: { ...helpersArgTypes.exampleIcon, }, }, } as Meta; const Template: StoryFn = (args) => ` directly. * Properties like `text`, `placeholder`, `onClearanceHandler` and `onClearanceText` won't be evaluated then. */ export const ControlledTarget = Template.bind({}); ControlledTarget.args = { ...Default.args, fill: false, children: