mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fixed console warning for labelProps (#16629)
This commit is contained in:
parent
5ee7da6afe
commit
fc0036d5b1
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user