diff options
author | Vitaly Takmazov | 2019-02-26 16:22:13 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | 695672f750ec9702c75a5020c90acba7b036380d (patch) | |
tree | 0cc4e5f386c531e485a232922ec61c8603f8274b /vnext/src/components/Types.js | |
parent | f507e0639cb29ccf74926177e7230255f07648fb (diff) |
UserLink component
Diffstat (limited to 'vnext/src/components/Types.js')
-rw-r--r-- | vnext/src/components/Types.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vnext/src/components/Types.js b/vnext/src/components/Types.js index 5a495ff3..9bf7b513 100644 --- a/vnext/src/components/Types.js +++ b/vnext/src/components/Types.js @@ -1,9 +1,10 @@ import PropTypes from 'prop-types'; export const UserType = PropTypes.shape({ - uid: PropTypes.number, + uid: PropTypes.number.isRequired, uname: PropTypes.string, - avatar: PropTypes.string + avatar: PropTypes.string, + uri: PropTypes.string }); export const MessageType = PropTypes.shape({ |