UNPKG

@commercelayer/react-components

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