UNPKG

@commercelayer/react-components

Version:
13 lines (12 loc) 501 B
import { type JSX } from 'react'; import { type TypeAccepted } from '../../utils/getLineItemsCount'; import type { ChildrenFunction } from '../../typings/index'; interface ChildrenProps extends Omit<Props, 'children'> { quantity: number; } interface Props extends Omit<JSX.IntrinsicElements['span'], 'children'> { children?: ChildrenFunction<ChildrenProps>; typeAccepted?: TypeAccepted[]; } export declare function LineItemsCount(props: Props): JSX.Element; export default LineItemsCount;