import { SearchControl } from '@wordpress/components'; import { useI18n } from '@wordpress/react-i18n'; import './input.scss'; export const DomainSearchControlsInput = ( { value, label, placeholder, onChange, onReset, autoFocus, onBlur, onKeyDown, minLength, maxLength, dir, 'aria-describedby': ariaDescribedBy, }: { value: string; label: string; placeholder?: string; onChange: ( value: string ) => void; onReset: () => void; autoFocus: boolean; onBlur: ( event: React.FocusEvent< HTMLInputElement > ) => void; onKeyDown: ( event: React.KeyboardEvent< HTMLInputElement > ) => void; minLength: number; maxLength: number; dir: 'ltr' | 'rtl'; 'aria-describedby': string; } ) => { const { __ } = useI18n(); return ( ); };