@commercelayer/react-components
Version:
The Official Commerce Layer React Components
10 lines (9 loc) • 407 B
TypeScript
import type { BillingAddressState } from '../reducers/BillingAddressReducer';
type DefaultContext = {
setBillingAddress?: (id: string, options?: {
customerAddressId: string;
}) => Promise<void>;
} & BillingAddressState;
export declare const defaultBillingAddressContext: {};
declare const BillingAddressContext: import("react").Context<DefaultContext>;
export default BillingAddressContext;