diff options
Diffstat (limited to 'vnext/src/components/Types.js')
-rw-r--r-- | vnext/src/components/Types.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vnext/src/components/Types.js b/vnext/src/components/Types.js deleted file mode 100644 index 9bf7b513..00000000 --- a/vnext/src/components/Types.js +++ /dev/null @@ -1,15 +0,0 @@ -import PropTypes from 'prop-types'; - -export const UserType = PropTypes.shape({ - uid: PropTypes.number.isRequired, - uname: PropTypes.string, - avatar: PropTypes.string, - uri: PropTypes.string -}); - -export const MessageType = PropTypes.shape({ - mid: PropTypes.number, - user: UserType, - timestamp: PropTypes.string.isRequired, - body: PropTypes.string -}); |