// @flow import React from 'react'; import Select from 'react-select'; import { colourOptions } from '../data'; const CustomClearText = () => 'clear all'; const ClearIndicator = props => { const { children = , getStyles, innerProps: { ref, ...restInnerProps }, } = props; return (
{children}
); }; const ClearIndicatorStyles = (base, state) => ({ ...base, cursor: 'pointer', color: state.isFocused ? 'blue' : 'black', }); export default function CustomClearIndicator() { return (