import { useId } from 'react'
import { Label } from '@/registry/new-york/ui/label'
import { Textarea } from '@/registry/new-york/ui/textarea'
const TextareaNoResizeDemo = () => {
const id = useId()
return (
<div className='w-full max-w-xs space-y-2'>
<Label htmlFor={id}>No resize textarea</Label>
<Textarea id={id} placeholder='Type your feedback here' className='[resize:none]' />
</div>
)
}
export default TextareaNoResizeDemo
npx shadcn@latest add @shadcn-studio/textarea-18import { Textarea18 } from "@/components/textarea-18"<Textarea18 />