// Copyright 2024, Command Line Inc. // SPDX-License-Identifier: Apache-2.0 import type { Meta, StoryObj } from "@storybook/react"; import { Input, InputGroup, InputLeftElement, InputRightElement } from "./input"; const meta: Meta = { title: "Elements/Input", component: InputGroup, args: { className: "custom-input-group-class", }, argTypes: { className: { description: "Custom class for input group styling", }, }, }; export default meta; type Story = StoryObj; export const DefaultInput: Story = { render: (args) => { return (
); }, args: { className: "custom-input-group-class", }, }; export const InputWithLeftElement: Story = { render: (args) => { return (
); }, args: { className: "custom-input-group-class", }, }; export const InputWithLeftAndRightElement: Story = { render: (args) => { return (
$
); }, args: { className: "custom-input-group-class", }, };