import * as React from "react"; import { StoryFn, Meta } from "@storybook/react"; import { TextInputWithButtons } from "../index"; import { InputStoryWrapper } from "../../../decorators/inputStoryWrapper"; import { SystemIcons } from "../../icons/dist/system-icons-enum"; import { TextInputButton } from "../../textInputButton"; import { Icon } from "../../icon"; import { themeBrandPrimary } from "../../design-tokens/build/js/designTokens"; const btnClickFn = () => { alert("button one clicked"); }; export default { title: "Forms/TextInputWithButtons", decorators: [Story => {Story()}], component: TextInputWithButtons } as Meta; const Template: StoryFn = args => ( ]} {...args} /> ); export const Default = { render: Template, args: {} }; export const WithCustomIcons = { render: Template, args: { inputLabel: "With colored icon", iconStart: , buttons: [ ] } };