import type { InputHTMLAttributes, ReactNode, SelectHTMLAttributes, TextareaHTMLAttributes } from "react"; import { IconButton } from "./Button.tsx"; import { IconChevronDown, IconClose, IconSearch } from "./icons.tsx"; type Size = { size?: "md" | "lg" }; const cx = (...a: Array) => a.filter(Boolean).join(" "); export function TextInput({ size = "md", className, ...rest }: Size & Omit, "size">) { return ; } export function Textarea({ size = "md", className, ...rest }: Size & Omit, "size">) { return