@rikstv/shared-components 3.0.24 → 3.0.25
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.
- package/CHANGELOG.md +3 -0
- package/dist/components/alert/Alert.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactElement } from "react";
|
|
1
|
+
import { HTMLAttributes, ReactElement, ReactNode } from "react";
|
|
2
2
|
/**
|
|
3
3
|
* Alerts are styled by props "intent" (color), "variant" (background and padding) and take an optional heading.
|
|
4
4
|
*
|
|
@@ -38,7 +38,7 @@ export interface Props extends HTMLAttributes<HTMLDivElement> {
|
|
|
38
38
|
/**
|
|
39
39
|
* Text contents
|
|
40
40
|
*/
|
|
41
|
-
children:
|
|
41
|
+
children: ReactNode;
|
|
42
42
|
/**
|
|
43
43
|
* Callback for when fadeOut animation ends, passed a reset function to reset dismissed state
|
|
44
44
|
*/
|