import { TextControl } from "@wordpress/components" export const Input = (props: { value: string; onChange: (value: string) => void; required?: boolean; disabled?: boolean; placeholder?: string; ref?: React.RefObject; }) => { return ( props.onChange(value)} required={props.required} disabled={props.disabled} placeholder={props.placeholder} ref={props.ref} /> ) }