From fc0036d5b13762cf380034c6acab6a81c2a2b10b Mon Sep 17 00:00:00 2001 From: Nidhi Kumari Date: Wed, 23 Nov 2022 02:34:51 +0530 Subject: [PATCH] fixed console warning for labelProps (#16629) --- ui/components/component-library/tag/tag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/components/component-library/tag/tag.js b/ui/components/component-library/tag/tag.js index 5bdf52622..b82cb2430 100644 --- a/ui/components/component-library/tag/tag.js +++ b/ui/components/component-library/tag/tag.js @@ -42,7 +42,7 @@ Tag.propTypes = { /** * The label props of the component. Most Text component props can be used */ - labelProps: Text.propTypes, + labelProps: PropTypes.shape(Text.PropTypes), /** * Additional classNames to be added to the Tag component */