From 6ea8e69d331067a9ac8da267bd09e689e2a171d2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 17 Jun 2018 01:54:48 +0300 Subject: Avatar component --- vnext/src/components/Types.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vnext/src/components/Types.js (limited to 'vnext/src/components/Types.js') 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 +}); -- cgit v1.2.3