Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 7c1645c

Browse files
Merge pull request #2813 from teamleadercrm/FRAF-2835-support-jsx-in-alert-body
2 parents 572ceb0 + 12294c0 commit 7c1645c

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@
44

55
### Changed
66

7-
- [BREAKING] The ES Modules build has been moved to the dist folder, so you now need update the css import to `@teamleader/ui/dist/index.css` ([@lowiebenoot](https://github.com/lowiebenoot)) in [#2809](https://github.com/teamleadercrm/ui/pull/2809)
8-
97
### Deprecated
108

119
### Removed
1210

11+
## [24.0.0]
12+
13+
### Changed
14+
15+
- [BREAKING] The ES Modules build has been moved to the dist folder, so you now need update the css import to `@teamleader/ui/dist/index.css` ([@lowiebenoot](https://github.com/lowiebenoot)) in [#2809](https://github.com/teamleadercrm/ui/pull/2809)
16+
- `Alert`: implemented support for jsx element in Alert `body` prop ([@eniskraasniqi1](https://https://github.com/eniskraasniqi1) in [#2813](https://github.com/teamleadercrm/ui/pull/2813))
17+
18+
### Removed
19+
1320
- [BREAKING] The CommonJS build has been removed. We now only have an ES Modules build. ([@lowiebenoot](https://github.com/lowiebenoot)) in [#2809](https://github.com/teamleadercrm/ui/pull/2809)
1421

1522
## [23.2.0] - 2023-11-14

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@teamleader/ui",
33
"description": "Teamleader UI library",
4-
"version": "23.2.0",
4+
"version": "24.0.0",
55
"author": "Teamleader <development@teamleader.eu>",
66
"bugs": {
77
"url": "https://github.com/teamleadercrm/ui/issues"

src/components/alert/Alert.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface AlertProps extends Omit<DialogBaseProps, 'scrollable' | 'size'>
2121
/** The title of the alert. */
2222
title: ReactNode;
2323
/** The body of the alert. */
24-
body?: string;
24+
body?: ReactNode;
2525
/** The type of the alert. */
2626
type?: Type;
2727
}

0 commit comments

Comments
 (0)