@aveonline/ui-react 1.9.2 → 1.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -80,5 +80,16 @@ export interface IField {
|
|
|
80
80
|
* Types input custom
|
|
81
81
|
*/
|
|
82
82
|
variant?: 'currency' | 'custom' | '';
|
|
83
|
+
/**
|
|
84
|
+
* All props for custom input
|
|
85
|
+
*/
|
|
83
86
|
custom?: IFieldCustom;
|
|
87
|
+
/**
|
|
88
|
+
* Available title tooltip navegator
|
|
89
|
+
*/
|
|
90
|
+
hasTitle?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Title tooltip navegator
|
|
93
|
+
*/
|
|
94
|
+
title?: string;
|
|
84
95
|
}
|
|
@@ -3,7 +3,8 @@ import { IField } from './IField';
|
|
|
3
3
|
export declare function useField({ isDisabled, type, iconRight, error, iconLeft, onChange, value, isError }: IField): {
|
|
4
4
|
inputValue: string;
|
|
5
5
|
inputRef: import("react").RefObject<HTMLInputElement>;
|
|
6
|
-
handleChange: (
|
|
6
|
+
handleChange: (ev: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
+
handleChangeCustom: (value: string) => void | undefined;
|
|
7
8
|
subtractValue: () => void;
|
|
8
9
|
addMoreValue: () => void;
|
|
9
10
|
getColorIcon: () => 'disabled' | 'default' | 'subdued';
|