@aragon/gov-ui-kit 1.0.73 → 1.0.74
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,15 +1,11 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { type HTMLAttributes
|
|
2
|
+
import { type HTMLAttributes } from 'react';
|
|
3
3
|
import { type AlertVariant } from '../alertUtils';
|
|
4
4
|
export interface IAlertCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
/**
|
|
6
6
|
* The alert message.
|
|
7
7
|
*/
|
|
8
8
|
message: string;
|
|
9
|
-
/**
|
|
10
|
-
* Optional description for the alert.
|
|
11
|
-
*/
|
|
12
|
-
description?: ReactNode;
|
|
13
9
|
/**
|
|
14
10
|
* Variant of the alert.
|
|
15
11
|
* @default info
|