import { useId } from 'react'
import { Label } from '@/registry/new-york/ui/label'
import { Textarea } from '@/registry/new-york/ui/textarea'
const TextareaWithHelperTextRightDemo = () => {
const id = useId()
return (
<div className='w-full max-w-xs space-y-2'>
<Label htmlFor={id}>Textarea with right helper text</Label>
<Textarea placeholder='Type your feedback here' id={id} />
<p className='text-muted-foreground text-end text-xs'>Your feedback is useful for us.</p>
</div>
)
}
export default TextareaWithHelperTextRightDemo