mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-15 21:08:57 +00:00
Fix propTypes of children property
- child can be a single string object, array of arbitrary objects or a single object (e.g., single Button child)
This commit is contained in:
parent
9f5bb3c1a6
commit
f70517457c
@ -62,6 +62,7 @@ const Link = ({
|
||||
Link.propTypes = {
|
||||
children: PropTypes.oneOfType([
|
||||
PropTypes.string,
|
||||
PropTypes.object,
|
||||
PropTypes.array,
|
||||
]).isRequired,
|
||||
href: PropTypes.string.isRequired,
|
||||
|
Loading…
Reference in New Issue
Block a user