import type { ComponentProps } from 'react'; import { TextareaControl } from '@wordpress/components'; import { cn } from '@/lib/utils'; type TextareaProps = Omit, 'value' | '__nextHasNoMarginBottom' | '__next40pxDefaultSize'> & { value: string | number | null | undefined; }; /** WordPress's TextareaControl, labelled from outside like Input. */ function Textarea( { className, value, ...props }: TextareaProps ) { return ; } export { Textarea };