import * as React from "react" import TextareaAutosize from "react-textarea-autosize" import { cn } from "../../design-lib/utils" import { Icons } from "../organisms/icons" import { Note, NoteMessage } from "./note" export interface TextareaProps extends React.TextareaHTMLAttributes { autoResize?: boolean error?: string info?: string markdownSupported?: boolean } const Textarea = React.forwardRef( ( { className, autoResize, error, info, markdownSupported, ...props }, ref ) => { return (
{autoResize ? ( ) : (