@demandjump/trinity
Version:
Public Demandjump React Components and UIKit
14 lines (12 loc) • 303 B
text/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>;
}