Repository URL to install this package:
|
Version:
2.1.16 ▾
|
import { ReactEventHandler } from 'react';
import { SingleShippingProps as SingleShippingPlaceholderProps } from 'abstractions/Checkout';
import { ShippingAddressProps } from '@skava/ui/dist/forms/views/ShippingAddress';
export interface AddressProps {
firstName: string;
middleName?: string;
lastName: string;
addressLine1: string;
addressLine2?: string;
city: string;
state: string;
postalCode: string;
country?: string;
telephone: string;
emailAddress: string;
}
export interface SingleShippingProps extends SingleShippingPlaceholderProps, ShippingAddressProps {
onShipToMultipleAddress?: ReactEventHandler<HTMLButtonElement>;
address?: AddressProps;
}