krypton-vite-demo
Version:
32 lines (31 loc) • 1.4 kB
TypeScript
declare const Input: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<(Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
} & {
error?: string | undefined;
} & {
color?: import("../../types").Color | undefined;
readOnly?: boolean | undefined;
} & {
helperText?: string | undefined;
beginIcon?: import("react").ReactNode;
endIcon?: import("react").ReactNode;
fullWidth?: boolean | undefined;
} & {
name: string;
}, "ref"> | Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
} & {
error?: string | undefined;
} & {
color?: import("../../types").Color | undefined;
readOnly?: boolean | undefined;
} & {
helperText?: string | undefined;
beginIcon?: import("react").ReactNode;
endIcon?: import("react").ReactNode;
fullWidth?: boolean | undefined;
} & {
value: string | number;
onChange: (value?: string | undefined) => void;
}, "ref">) & import("react").RefAttributes<HTMLInputElement>>>;
export default Input;