feat(dashboard-v2): allow passing custom elements as panel title

This commit is contained in:
Michał Leszczyk 2022-02-23 10:40:29 +01:00
parent cb0ff7a576
commit 143c6a94e5
No known key found for this signature in database
GPG Key ID: FA123CA8BAA2FBF4
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ Panel.propTypes = {
/**
* Label of the panel
*/
title: PropTypes.string,
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
};
Panel.defaultProps = {