hunk.code_window:   inputValue: string,
   };
   const filterColors = (inputValue: string) => {
     if (inputValue) {
       return colourOptions.filter(i =>
           i.label.toLowerCase().includes(inputValue.toLowerCase())
         );
     }
     return colourOptions;
   };
   const loadOptions = (inputValue, callback) => {
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace keep keep keep
hunk.after_edit:   return colourOptions.filter(i =>
       i.label.toLowerCase().includes(inputValue.toLowerCase())
     );
  
hunk.file_path: docs/examples/AsyncCallbacks.js
hunk.type: replace
file: import React, { Component, Fragment } from 'react';
  import Select from '../../src';
  import { flavourOptions } from '../data';
  
  export default class CustomIsOptionDisabled extends Component<*> {
    render () {
      return (
        <Fragment>
          <p>Disable all options that do not have a 'safe' rating, via the isOptionsDisabled fn prop</p>
          <Select
            defaultValue={flavourOptions[0]}
            isClearable
            isSearchable
            name="color"
            options={flavourOptions}
            isOptionDisabled={(option) => option.rating !== 'safe'}
          />
        </Fragment>
      );
    }
  }
  