diff options
author | Vitaly Takmazov | 2018-06-17 01:54:48 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:52 +0300 |
commit | 6ea8e69d331067a9ac8da267bd09e689e2a171d2 (patch) | |
tree | 3a2e54c84cfb8f8aa825899f760f2309b56e2d62 /vnext/src/components/Types.js | |
parent | 5ee478a197868a560aaf392affef6afa9563b827 (diff) |
Avatar component
Diffstat (limited to 'vnext/src/components/Types.js')
-rw-r--r-- | vnext/src/components/Types.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vnext/src/components/Types.js b/vnext/src/components/Types.js new file mode 100644 index 00000000..2bd07458 --- /dev/null +++ b/vnext/src/components/Types.js @@ -0,0 +1,6 @@ +import PropTypes from 'prop-types'; + +export const UserType = PropTypes.shape({ + uid: PropTypes.number.isRequired, + uname: PropTypes.string.isRequired +}); |