import React from "react"; import { ComponentStory, ComponentMeta } from "@storybook/react"; import { useArgs } from "@storybook/client-api"; import { ChangeEvent } from "react"; import { Markdown } from "@styled-icons/boxicons-logos"; import { H5 } from "../heading/H5"; import { TextArea, MarkdownTip } from "./TextArea"; export default { title: "Design System/Atoms/Inputs/Text Area", component: TextArea, argTypes: { value: { name: "Value", type: "string", defaultValue: "I am a value.", }, placeholder: { name: "Placeholder", type: "string", defaultValue: "Enter something cool...", }, code: { name: "Enable code font", type: "boolean", defaultValue: false, }, hideBorder: { name: "Hide border", type: "boolean", defaultValue: false, }, padding: { name: "Padding", type: "string", }, lineHeight: { name: "Line height", type: "string", }, }, } as ComponentMeta; const Template: ComponentStory = (args) => { const [_, updateArgs] = useArgs(); return ( <>