@commercelayer/react-components
Version:
The Official Commerce Layer React Components
13 lines (12 loc) • 532 B
TypeScript
import { type IconBrand } from '../../context/PaymentSourceContext';
import { type JSX } from 'react';
import type { ChildrenFunction } from '../../typings/index';
interface CustomComponent extends Omit<Props, 'children'> {
brand: IconBrand;
}
interface Props extends Omit<JSX.IntrinsicElements['span'], 'children'> {
children?: ChildrenFunction<CustomComponent>;
label?: string;
}
export declare function PaymentSourceBrandName({ children, label, ...props }: Props): JSX.Element;
export default PaymentSourceBrandName;