Skip to content

Commit

Permalink
EuiToast title prop should accept a node (#1978)
Browse files Browse the repository at this point in the history
resolce conflicts
  • Loading branch information
claracruz authored and thompsongl committed May 30, 2019
1 parent 7ef3f51 commit be02102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/components/toast/global_toast_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit be02102

Please sign in to comment.