// src/components/Slider.stories.tsx
import React from "react";
import { Input } from "../ui/input";
import { StoryFn, Meta } from "@storybook/react";

export default {
  title: "Components/Input",
  component: Input,
  argTypes: {
    onClick: { action: "clicked" },
    type: { control: "text" },
    error: { control: "boolean" },
  },
} as Meta<typeof Input>;

const Template: StoryFn = (args) => {
  return <Input {...args} />;
};

export const Default = Template.bind({});
Default.args = {
  type: "text",
  error: false,
};
