UNPKG

@commercelayer/react-components

Version:
11 lines (10 loc) 447 B
import { type ReactNode, type JSX } from 'react'; import type { LoaderType } from '../../typings/index'; import type { Order } from '@commercelayer/sdk'; interface ShipmentProps { children: ReactNode; loader?: LoaderType; autoSelectSingleShippingMethod?: boolean | ((order?: Order) => void); } export declare function Shipment({ children, loader, autoSelectSingleShippingMethod }: ShipmentProps): JSX.Element; export default Shipment;