@commercelayer/react-components
Version:
The Official Commerce Layer React Components
11 lines (10 loc) • 475 B
TypeScript
import { type JSX, type ReactNode } 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 PaymentSourceDeleteButton({ children, label, ...props }: Props): JSX.Element | null;
export default PaymentSourceDeleteButton;