UNPKG

@commercelayer/react-components

Version:
11 lines (10 loc) 475 B
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;