cosmo-ui
Version:
Common React components
20 lines (16 loc) • 520 B
text/typescript
import { FormFieldProps, FormFieldComponentProps } from './form-field'
export interface Location {
address: {
country: string,
postcode: string,
streets: string[]
town: string,
},
position: {
coordinates: number[],
type: string,
}
}
export interface AddressInputProps extends FormFieldProps<string> { }
export interface AddressInputComponentProps extends
AddressInputProps, FormFieldComponentProps<string> {}