import React, { useId } from 'react'; import styles from './Textarea.module.css'; export interface TextareaProps extends Omit, 'id'> { label?: string; hint?: string; error?: string; } export function Textarea({ label, hint, error, className, ...props }: TextareaProps) { const id = useId(); return (
{label && ( )}