///
export interface TypeProps {
type: "number" | 'password' | 'text';
}
export interface ActiveProps {
active: boolean;
}
export interface BorderColType {
activeBorderCol?: string;
borderCol?: string;
}
export interface ActiveBgColType {
activeBgCol?: string;
}
export interface BorderRadiusType {
borderRadius?: string;
}
export interface ColorType {
colour?: string;
}
export interface InputTypes extends TypeProps, ColorType, BorderRadiusType, ActiveBgColType, BorderColType {
handleChange: (e: React.FormEvent) => any;
name: string;
value: string | number;
disabled?: boolean;
iconAfterInput?: any;
iconBeforeInput?: any;
handleOnFocus?: (e: React.FormEvent) => any;
handleOnBlur?: (e: React.FormEvent) => any;
handleOnEmptyInputValue?: (e: React.FormEvent) => any;
placeholder?: string;
bgCol?: string;
borderRadius?: string;
[k: string]: any;
}
export interface TypeTypes extends TypeProps, InputTypes {
[k: string]: any;
}