Repository URL to install this package:
|
Version:
2.7.3 ▾
|
import { ReactNode } from 'react';
export interface AddressType {
firstName?: string;
lastName?: string;
addressLine1?: string;
addressLine2?: string;
country?: string;
city?: string;
state?: string;
postalCode?: string | number;
}
export interface PhysicalAddressRenderProp extends Function {
(props: PhysicalAddressProps): ReactNode;
}
export interface PhysicalAddressProps {
className?: string;
children?: ReactNode;
address: AddressType;
renderDetails?: PhysicalAddressRenderProp;
renderWrapper?: PhysicalAddressRenderProp;
}