UNPKG

@commercelayer/react-components

Version:
12 lines (11 loc) 444 B
import { type JSX } from 'react'; import type { ShippingMethod } from '@commercelayer/sdk'; type ChildrenProps = Omit<Props, 'children'> & { label: string; shippingMethod: ShippingMethod; }; interface Props extends Omit<JSX.IntrinsicElements['label'], 'children' | 'ref'> { children?: (props: ChildrenProps) => JSX.Element; } export declare function ShippingMethodName(props: Props): JSX.Element; export default ShippingMethodName;