@commercelayer/react-components
Version:
The Official Commerce Layer React Components
12 lines (11 loc) • 444 B
TypeScript
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;