UNPKG

compatible-ui

Version:

No style, clean and adaptive React UI Library

10 lines (9 loc) 393 B
import { HTMLAttributes } from "react"; export type InputType = "text" | "number" | "card" | "card/date" | "card/cvc"; export interface IInputBaseProps extends HTMLAttributes<HTMLInputElement> { type: InputType; onChange?: (event: React.FormEvent<HTMLInputElement>) => void; value: string | number | undefined; customClassName?: string; extraClassName?: string; }