import { forwardRef } from 'react'; import { TextControl, type TextControlProps } from '@wordpress/components'; import { cn } from '@/lib/utils'; type InputProps = Omit & { value: string | number | null | undefined; }; /** * WordPress's TextControl without its own label (FieldRow labels it). The * class name lands on its wrapper, where the .wtofe-field-* sizes apply; * components.css draws the input. */ const Input = forwardRef( function Input( { className, type = 'text', value, ...props }, ref ) { return ( ); } ); export { Input };