@demandjump/trinity
Version:
Public Demandjump React Components and UIKit
13 lines (12 loc) • 324 B
TypeScript
import { ChangeEventHandler } from "react";
export interface InputProps {
type?: "text" | "password" | "email";
id?: string;
label?: string;
error?: boolean;
message?: string;
success?: boolean;
disabled?: boolean;
placeholder?: string;
onChange?: ChangeEventHandler<HTMLInputElement>;
}