update color and placeholder

This commit is contained in:
Abhinav 2022-06-20 17:29:41 +05:30
parent b6fe6056ff
commit 111a92bdfe
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ import React, { useContext, useEffect, useState } from 'react';
import { getAutoCompleteSuggestions } from 'services/searchService'; import { getAutoCompleteSuggestions } from 'services/searchService';
import { Bbox, DateValue, SearchOption, SuggestionType } from 'types/search'; import { Bbox, DateValue, SearchOption, SuggestionType } from 'types/search';
import constants from 'utils/strings/constants'; import constants from 'utils/strings/constants';
import { ValueContainerWithIcon } from './controlWithIcon'; import { ValueContainerWithIcon } from './valueContainerWithIcon';
import { SearchInputWrapper } from './styledComponents'; import { SearchInputWrapper } from './styledComponents';
import { SelectStyles } from '../../../../styles/search'; import { SelectStyles } from '../../../../styles/search';
import AsyncSelect from 'react-select/async'; import AsyncSelect from 'react-select/async';

View file

@ -36,7 +36,7 @@ export const ValueContainerWithIcon: SelectComponents<
>['ValueContainer'] = (props) => ( >['ValueContainer'] = (props) => (
<ValueContainer {...props}> <ValueContainer {...props}>
<FlexWrapper> <FlexWrapper>
<Box className="icon" mr={'12px'}> <Box className="icon" mr={'12px'} color="rgba(255, 255, 255, 0.24)">
{getIconByType(props.getValue()[0]?.type)} {getIconByType(props.getValue()[0]?.type)}
</Box> </Box>
{props.children} {props.children}