UNPKG

@commercelayer/react-components

Version:
15 lines (14 loc) 547 B
import type { ChildrenFunction } from '../../typings/index'; import type { JSX } from "react"; interface Props extends Omit<JSX.IntrinsicElements['span'], 'children'> { /** * Function allow you to customize the component */ children?: ChildrenFunction<Omit<Props, 'children'>>; /** * Label to show. Default: 'No payments available.' */ emptyText?: string; } export declare function CustomerPaymentSourceEmpty({ children, emptyText, ...p }: Props): JSX.Element | null; export default CustomerPaymentSourceEmpty;