@eclass/ui-kit 1.32.0 → 1.33.0
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export interface propsTertiaryBtn {
|
|
3
3
|
iconStatus?: 'answer' | 'ahead' | 'back' | 'edit' | 'delete' | 'more' | 'password' | 'multimedia' | 'record' | 'download' | 'noIcon';
|
|
4
|
+
/** Se permite agregar un nuevo icono, para casos en que no sirvan los de la lista definida */
|
|
5
|
+
iconCustom?: JSX.Element;
|
|
4
6
|
children?: React.ReactNode;
|
|
5
7
|
rightIcon?: boolean;
|
|
6
8
|
withoutColor?: boolean;
|
|
@@ -10,7 +12,7 @@ export interface propsTertiaryBtn {
|
|
|
10
12
|
id?: string;
|
|
11
13
|
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
12
14
|
}
|
|
13
|
-
export declare function BtnTertiary({ children, iconStatus, rightIcon, withoutColor, m, type, tabIndex, id, onClick, }: propsTertiaryBtn): JSX.Element;
|
|
15
|
+
export declare function BtnTertiary({ children, iconStatus, iconCustom, rightIcon, withoutColor, m, type, tabIndex, id, onClick, }: propsTertiaryBtn): JSX.Element;
|
|
14
16
|
export declare namespace BtnTertiary {
|
|
15
17
|
var displayName: string;
|
|
16
18
|
}
|