import * as React from 'react'; import {AddGeoLookupInput} from './AddGeoLookupInput'; import {LineInput, Label} from '../UI/Form'; import {ILocation} from '../../interfaces'; interface IProps { field: string; label?: string; value?: ILocation; disableSearch?: boolean; hint?: string; message?: string; required?: boolean; invalid?: boolean; readOnly?: boolean; boxed?: boolean; noMargin?: boolean; onChange(field: string, value?: Partial): void; onFocus?(): void; popupContainer?(): HTMLElement; onPopupOpen?(): void; onPopupClose?(): void; } export class GeoLookupInput extends React.PureComponent { render() { const { label, disableSearch, onChange, value, field, readOnly, onFocus, popupContainer, ...props } = this.props; return ( ); } }