UNPKG

@slashid/react

Version:

React SDK for the /id platform

15 lines 460 B
import { ChangeEventHandler } from "react"; export type BaseInputProps = { id: string; name: string; label: string; placeholder?: string; autoComplete?: string; className?: string; type?: "text" | "email" | "tel" | "password"; value: string; onChange: ChangeEventHandler<HTMLInputElement>; style?: React.CSSProperties; }; export declare const BaseInput: React.FC<BaseInputProps>; //# sourceMappingURL=input.base.d.ts.map