jb-payment-input
Version:
payment input web component
31 lines (30 loc) • 1.2 kB
TypeScript
import React from 'react';
import { BaseProps } from 'jb-input/react';
import 'jb-payment-input';
import { JBPaymentInputWebComponent, PaymentInputType } from 'jb-payment-input';
declare global {
namespace JSX {
interface IntrinsicElements {
'jb-payment-input': JBSearchbarType;
}
interface JBSearchbarType extends React.DetailedHTMLProps<React.HTMLAttributes<JBPaymentInputWebComponent>, JBPaymentInputWebComponent> {
"class"?: string;
"type"?: string;
"label"?: string;
"message"?: string;
"placeholder"?: string;
}
}
}
declare const JBPaymentInput: React.ForwardRefExoticComponent<import("jb-input/react").JBInputEvents<JBPaymentInputWebComponent> & import("jb-input/react").JBInputAttributes & {
className?: string;
children?: React.ReactNode | React.ReactNode[];
} & {
inputType?: PaymentInputType | null;
separator?: string | null;
} & React.RefAttributes<unknown>>;
export type Props = BaseProps<JBPaymentInputWebComponent> & {
inputType?: PaymentInputType | null;
separator?: string | null;
};
export { JBPaymentInput };