import { FunctionComponent } from 'react'; import { Validator } from '@gecogvidanto/shared'; export interface AddPlayerFieldProps { id: string; name: string; label: string; autoFocus: boolean; validators: Validator[]; onAddPlayer: () => void; } /** * A field used to add a player. */ declare const AddPlayerField: FunctionComponent; export default AddPlayerField;