feat(dashboard-v2): allow passing custom elements as panel title
This commit is contained in:
parent
cb0ff7a576
commit
143c6a94e5
|
@ -25,7 +25,7 @@ Panel.propTypes = {
|
|||
/**
|
||||
* Label of the panel
|
||||
*/
|
||||
title: PropTypes.string,
|
||||
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
||||
};
|
||||
|
||||
Panel.defaultProps = {
|
||||
|
|
Reference in New Issue