hunk.code_window: import { colourOptions } from '../data';
   const filterColors = (inputValue: string) => {
     if (inputValue) {
       return colourOptions.filter(i =>
           i.label.toLowerCase().includes(inputValue.toLowerCase())
         );
     }
     return colourOptions;
   };
   const promiseOptions = inputValue =>
     new Promise(resolve => {
  
hunk.labels: keep keep keep replace replace replace replace replace replace keep keep keep keep
hunk.after_edit:   return colourOptions.filter(i =>
       i.label.toLowerCase().includes(inputValue.toLowerCase())
     );
  
hunk.file_path: docs/examples/AsyncCreatable.js
hunk.type: replace
file: import React, { Component, Fragment } from 'react';
  import Select from '../../src';
  import { flavourOptions } from '../data';
  
  export default class CustomGetOptionLabel extends Component<*> {
    render () {
      return (
        <Fragment>
        <p>Composing a display label from the label property and rating property in the options object</p>
        <Select
          defaultValue={flavourOptions[0]}
          isClearable
          isSearchable
          name="color"
          options={flavourOptions}
          getOptionLabel={(option) => (`${option.label}: ${option.rating}`)}
        />
        </Fragment>
      );
    }
  }
  