@eclass/ui-kit 1.21.0 → 1.21.1

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.
@@ -14,4 +14,4 @@ import { IAlertProps } from './types.d';
14
14
  * Mensaje
15
15
  * </Alert>
16
16
  */
17
- export declare function Alert({ children, canDismiss, buttonText, buttonIcon, buttonLink, onClick, state, m, }: IAlertProps): JSX.Element;
17
+ export declare function Alert({ children, canDismiss, buttonText, buttonIcon, buttonLink, isFlash, onClick, state, m, }: IAlertProps): JSX.Element;
@@ -20,10 +20,14 @@ export interface IAlertProps {
20
20
  * Boolean que determina si el botón es tipo link
21
21
  */
22
22
  buttonLink?: boolean
23
+ /**
24
+ * Para notificación flash
25
+ */
26
+ isFlash?: boolean
23
27
  /**
24
28
  * Función del botón
25
29
  */
26
- onClick?: (e: React.MouseEvent<HTMLElement>) => void
30
+ onClick?: () => void
27
31
  /**
28
32
  * Estado que define color e ícono de la alerta
29
33
  * @exampe