diff --git a/CHANGELOG.md b/CHANGELOG.md index f49a3860691..6ae8aa9b561 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Fixed environment setup for running `test-unit` script on Windows ([#1971](https://github.com/elastic/eui/pull/1971)) - Fixed focus on single selection of EuiComboBox ([#1965](https://github.com/elastic/eui/pull/1965)) +- Fixed type mismatch between PropType and TypeScript def for `EuiGlobalToastList` toast `title` ([#1978](https://github.com/elastic/eui/pull/1978)) ## [`11.2.1`](https://github.com/elastic/eui/tree/v11.2.1) diff --git a/src/components/toast/global_toast_list.js b/src/components/toast/global_toast_list.js index cf9edeada0b..ab913478fac 100644 --- a/src/components/toast/global_toast_list.js +++ b/src/components/toast/global_toast_list.js @@ -35,7 +35,7 @@ export class EuiGlobalToastList extends Component { PropTypes.shape({ id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) .isRequired, - title: PropTypes.string, + title: PropTypes.node, text: PropTypes.node, color: PropTypes.string, iconType: IconPropType,