aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/presentational/Result.jsx
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-14 18:54:00 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-14 18:54:00 +0100
commit569b2969d530f08e55798c5cb3079948c7c037cd (patch)
treef90c5c524f1d3536a1f6ab665a7350739f590b7a /src/client/react/components/presentational/Result.jsx
parent8e9d5e98793f7594a8a1a1b5956163eca6795164 (diff)
Use .js extention instead of .jsx
Diffstat (limited to 'src/client/react/components/presentational/Result.jsx')
-rw-r--r--src/client/react/components/presentational/Result.jsx24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/client/react/components/presentational/Result.jsx b/src/client/react/components/presentational/Result.jsx
deleted file mode 100644
index 0b9e024..0000000
--- a/src/client/react/components/presentational/Result.jsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import classnames from 'classnames';
-import users from '../../users';
-
-import IconFromUserType from './IconFromUserType';
-
-const Result = ({ userId, isSelected }) => (
- <div
- className={classnames('search__result', {
- 'search__result--selected': isSelected,
- })}
- >
- <div className="search__icon-wrapper"><IconFromUserType userType={users.byId[userId].type} /></div>
- <div className="search__result__text">{users.byId[userId].value}</div>
- </div>
-);
-
-Result.propTypes = {
- userId: PropTypes.string.isRequired,
- isSelected: PropTypes.bool.isRequired,
-};
-
-export default Result;