@bigbinary/neetoui
Version:
neetoUI drives the experience at all neeto products
29 lines (26 loc) • 665 B
TypeScript
import React from "react";
export interface InputProps
extends React.DetailedHTMLProps<
React.InputHTMLAttributes<HTMLInputElement>,
HTMLInputElement
> {
[key: string]: any;
size?: "small" | "medium" | "large";
label?: string;
error?: string;
suffix?: React.ReactNode;
prefix?: React.ReactNode;
disabled?: boolean;
helpText?: string;
className?: string;
nakedInput?: boolean;
precision?: number;
contentSize?: number;
required?: boolean;
labelProps?: LabelProps;
maxLength?: number;
unlimitedChars: boolean;
rejectCharsRegex?: RegExp;
}
const Input: React.ForwardRefExoticComponent<InputProps>;
export default Input;