Skip to content

Commit

Permalink
fix(BadgedResource): don't restrict resourceName to a string (pattern…
Browse files Browse the repository at this point in the history
  • Loading branch information
lizagilman authored and jeff-phillips-18 committed Jan 28, 2019
1 parent 237fc5f commit e50bb35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ BadgedResource.propTypes = {
/** Full name of the resource kind to display in the badge tooltip and for screen readers (defaulted if valid resourceKind is given) */
kindStr: PropTypes.string,
/** Name of the resource */
resourceName: PropTypes.string,
resourceName: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
/** Flag for large version */
large: PropTypes.bool,
/** Delay in ms for the tooltip (-1 to use title rather than a tooltip) */
Expand Down

0 comments on commit e50bb35

Please sign in to comment.