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

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

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

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