import * as React from 'react'; import I18n from 'i18n-js'; import Select, { components } from 'react-select'; export type MultiSelectOption = { value: number; label: string; color?: string; }; interface Props { options: Array; defaultValue: Array; onChange: (selectedOptions: Array) => void; className?: string; } const SELECTED_COLOR = '#e5e5e5'; const ColoredOption = props => { return ( {props.data.label} ); }; const MultiSelect = ({ options, defaultValue, onChange, className, }: Props) => { return (