aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/presentational/Result.tsx
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-01-06 12:11:19 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-01-06 12:11:19 +0100
commit77dccd31b32ee0a9a53b2186bae231069c5ab152 (patch)
treef90c5c524f1d3536a1f6ab665a7350739f590b7a /src/client/react/components/presentational/Result.tsx
parent95041dffbd23fe81802efd5fb25cffe492cdb551 (diff)
Revert "Move to typescript"
This reverts commit f0c8cf0e79f003514fd65a70def5820205955a77.
Diffstat (limited to 'src/client/react/components/presentational/Result.tsx')
-rw-r--r--src/client/react/components/presentational/Result.tsx18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/client/react/components/presentational/Result.tsx b/src/client/react/components/presentational/Result.tsx
deleted file mode 100644
index b33a365..0000000
--- a/src/client/react/components/presentational/Result.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import * as React from 'react';
-import * as classnames from 'classnames';
-import users from '../../users';
-
-import IconFromUserType from './IconFromUserType';
-
-const Result: React.StatelessComponent<{ userId: string, isSelected: boolean }> = ({ 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>
-);
-
-export default Result;