@fluido/react-components
Version:
Fluido webapp components
18 lines (17 loc) • 598 B
TypeScript
/// <reference types="react" />
/// <reference types="inputmask" />
export interface TextFieldProps {
name: string;
label?: string;
placeholder?: string;
type?: string;
trailing?: React.ReactNode;
leading?: React.ReactNode;
maskConfig?: string | string[] | Inputmask.Options;
error?: string;
disabled?: boolean;
required?: boolean;
[key: string]: any;
}
declare const TextField: import("react").ForwardRefExoticComponent<Pick<TextFieldProps, string | number> & import("react").RefAttributes<HTMLInputElement>>;
export default TextField;