import React, { Component } from 'react'; import Select from 'react-select'; import DescriptionOption from './DescriptionOption'; export interface IProps { optionsWithDesc: OptionWithDescription[]; handlePicked: (permission) => void; value: number; disabled: boolean; className?: string; } export interface OptionWithDescription { value: any; label: string; description: string; } class DescriptionPicker extends Component { constructor(props) { super(props); this.state = {}; } render() { const { optionsWithDesc, handlePicked, value, disabled, className } = this.props; return (