hunk.code_window:   }),
   };
   export const defaultProps = {
     allowCreateWhileLoading: false,
     createOptionLabelFirst: false,
     ...builtins,
   };
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:   createOptionPosition: 'last',
  
hunk.file_path: src/Creatable.js
hunk.type: replace
file: // @flow
  
  import React from 'react';
  import { Route, Switch } from 'react-router-dom';
  
  import type { RouterProps } from '../types';
  import routes from './routes';
  
  const API = ({ match }: RouterProps) => {
    const { path, Component } = routes[match.params.section];
    return (
      <Switch>
        <Route exact path={path} component={Component} />
      </Switch>
    );
  };
  
  export default API;
  