import * as React from 'react'; import { MarginClassProps } from '../../utilities/marginClasses'; import { CommonProps } from '../../utilities/commonProps'; declare type NameKey = 'lastName' | 'firstName'; declare type Props = { lastName?: string; firstName?: string; lastNamePlaceholder?: string; firstNamePlaceholder?: string; label?: string; /** * There are no way to use labelledby. * aria-label and aria-labelledby cannot use at the same time, * we cannot resolve the problem in a similar way as aria-label * @deprecated */ labelledby?: string; disabled?: boolean; required?: boolean; error?: boolean; small?: boolean; autoComplete?: 'off' | 'name'; onChange?: (key: NameKey, e: React.ChangeEvent) => void; onInput?: (key: NameKey, e: React.FormEvent) => void; onFocus?: (key: NameKey, e: React.FormEvent) => void; onBlur?: (key: NameKey, e: React.FormEvent) => void; onKeyDown?: (key: NameKey, e: React.KeyboardEvent) => void; } & MarginClassProps & CommonProps; declare const NameField: React.FC; export default NameField;