diff --git a/src/components/SearchBar.tsx b/src/components/SearchBar.tsx index 28e297ec3..bdbd2f7b9 100644 --- a/src/components/SearchBar.tsx +++ b/src/components/SearchBar.tsx @@ -37,6 +37,8 @@ import { Col } from 'react-bootstrap'; import { Person, ThingClass, WordGroup } from 'types/machineLearning'; import { IndexStatus } from 'types/machineLearning/ui'; import { PeopleList } from './MachineLearning/PeopleList'; +import ObjectIcon from './icons/ObjectIcon'; +import TextIcon from './icons/TextIcon'; const Wrapper = styled.div<{ isDisabled: boolean; isOpen: boolean }>` position: fixed; @@ -303,6 +305,10 @@ export default function SearchBar(props: Props) { return ; case SuggestionType.VIDEO: return ; + case SuggestionType.THING: + return ; + case SuggestionType.TEXT: + return ; default: return ; } diff --git a/src/components/icons/ObjectIcon.tsx b/src/components/icons/ObjectIcon.tsx new file mode 100644 index 000000000..466b5a46f --- /dev/null +++ b/src/components/icons/ObjectIcon.tsx @@ -0,0 +1,19 @@ +import React from 'react'; + +export default function ObjectIcon(props) { + return ( + + + + ); +} + +ObjectIcon.defaultProps = { + height: 20, + width: 20, + viewBox: '0 0 24 24', +}; diff --git a/src/components/icons/TextIcon.tsx b/src/components/icons/TextIcon.tsx new file mode 100644 index 000000000..d273354f0 --- /dev/null +++ b/src/components/icons/TextIcon.tsx @@ -0,0 +1,19 @@ +import React from 'react'; + +export default function TextIcon(props) { + return ( + + + + ); +} + +TextIcon.defaultProps = { + height: 16, + width: 16, + viewBox: '0 0 28 28', +};