@commercelayer/react-components
Version:
The Official Commerce Layer React Components
11 lines (10 loc) • 504 B
TypeScript
import { type JSX } from 'react';
export type DeliveryLeadTimeField = 'min_hours' | 'max_hours' | 'min_days' | 'max_days';
export type DeliveryLeadTimeComponentChildren = Omit<Props, 'children' | 'ref'>;
type Props = Partial<Omit<JSX.IntrinsicElements['span'], 'ref'>> & {
children?: (props: DeliveryLeadTimeComponentChildren) => JSX.Element;
type: DeliveryLeadTimeField;
text?: string;
};
export declare function DeliveryLeadTime(props: Props): JSX.Element;
export default DeliveryLeadTime;