import React, { SFC } from 'react'; import Select from 'react-select'; import DescriptionOption from './DescriptionOption'; import ResetStyles from './ResetStyles'; interface Props { className?: string; defaultValue?: any; getOptionLabel: (item: any) => string; getOptionValue: (item: any) => string; onSelected: (item: any) => {} | void; options: any[]; placeholder?: string; width?: number; value: any; } const SimplePicker: SFC = ({ className, defaultValue, getOptionLabel, getOptionValue, onSelected, options, placeholder, width, value, }) => { return (