aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/search_input.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/src/components/search_input.tsx')
-rw-r--r--packages/instant/src/components/search_input.tsx29
1 files changed, 0 insertions, 29 deletions
diff --git a/packages/instant/src/components/search_input.tsx b/packages/instant/src/components/search_input.tsx
deleted file mode 100644
index 71bc18915..000000000
--- a/packages/instant/src/components/search_input.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import * as _ from 'lodash';
-import * as React from 'react';
-
-import { ColorOption } from '../style/theme';
-
-import { Container } from './ui/container';
-import { Flex } from './ui/flex';
-import { Icon } from './ui/icon';
-import { Input, InputProps } from './ui/input';
-
-export interface SearchInputProps extends InputProps {
- backgroundColor?: ColorOption;
-}
-
-export const SearchInput: React.StatelessComponent<SearchInputProps> = props => (
- <Container backgroundColor={props.backgroundColor} borderRadius="3px" padding=".5em .5em">
- <Flex justify="flex-start" align="center">
- <Icon width={14} height={14} icon="search" color={ColorOption.lightGrey} padding="2px 12px" />
- <Input {...props} type="search" fontSize="16px" fontColor={props.fontColor} />
- </Flex>
- </Container>
-);
-
-SearchInput.displayName = 'SearchInput';
-
-SearchInput.defaultProps = {
- backgroundColor: ColorOption.lightestGrey,
- fontColor: ColorOption.grey,
-};