diff options
author | Vitaly Takmazov | 2018-07-06 01:32:43 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:53 +0300 |
commit | 7f25b0f261b5a5fc2696054004fb24673375b91b (patch) | |
tree | 38ee591e176b4799e39eff7a16f1950e017e7bb4 /vnext/src/components/Contact.js | |
parent | 88732ba8c06c23a93f7248b6eabc182f38be3d33 (diff) |
Proptypes & eslint
Diffstat (limited to 'vnext/src/components/Contact.js')
-rw-r--r-- | vnext/src/components/Contact.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vnext/src/components/Contact.js b/vnext/src/components/Contact.js index 0e969cc1..01dd1ae6 100644 --- a/vnext/src/components/Contact.js +++ b/vnext/src/components/Contact.js @@ -1,4 +1,5 @@ import React from 'react'; +import { UserType } from './Types'; import Avatar from './Avatar'; @@ -14,3 +15,7 @@ export default class Contact extends React.Component { ); } } + +Contact.propTypes = { + user: UserType +}; |