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: // @flow
  
  import React, { type ComponentType } from 'react';
  import { type SingleValueProps } from '../components/SingleValue';
  import { Fade } from './transitions';
  
  // instant fade; all transition-group children must be transitions
  
  const AnimatedSingleValue = (WrappedComponent: ComponentType<SingleValueProps>) => (props: any) => (
    <Fade component={WrappedComponent} {...props} />
  );
  
  export default AnimatedSingleValue;
  