@commercelayer/react-components
Version:
The Official Commerce Layer React Components
11 lines (10 loc) • 471 B
TypeScript
import { type ReactNode, type JSX } from 'react';
import type { ChildrenFunction } from '../../typings/index';
interface CustomComponent extends Omit<Props, 'children'> {
}
type Props = {
children?: ChildrenFunction<CustomComponent>;
label?: string | ReactNode;
} & Omit<JSX.IntrinsicElements['button'], 'onClick'>;
export declare function PaymentSourceEditButton({ children, label, ...props }: Props): JSX.Element | null;
export default PaymentSourceEditButton;