react-ui89
Version:
A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.
17 lines (16 loc) • 514 B
TypeScript
import React from "react";
import "../style/input-box.css";
import "../style/typo.css";
export interface Ui89InputTextProps {
value?: any;
placeholder?: string;
autoTrim?: boolean;
onChange?: (value: any) => void;
onTyping?: (value: boolean) => void;
onFocus?: () => void;
onBlur?: () => void;
}
export interface Ui89InputTextRef {
focus: () => void;
}
export declare const Ui89InputText: React.ForwardRefExoticComponent<Ui89InputTextProps & React.RefAttributes<Ui89InputTextRef>>;