update color and placeholder
This commit is contained in:
parent
b6fe6056ff
commit
111a92bdfe
|
@ -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';
|
||||||
|
|
|
@ -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}
|
Loading…
Reference in a new issue