// Type definitions for react-select v0.9.10
// Project: https://github.com/JedWatson/react-select
// Definitions by: ESQUIBET Hugo
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
///
// Typings for https://github.com/JedWatson/react-select
//***Usage***
// import ReactSelect = require('react-select');
//
declare module "react-select" {
// Import React
import React = require("react");
interface Option{
label : string;
value : any;
}
interface ReactSelectProps extends React.Props{
addLabelText? : string;
allowCreate? : boolean;
asyncOptions? : ()=>any;
autoload? : boolean;
backspaceRemoves? : boolean;
cacheAsyncResults? : boolean;
className? : string;
clearable? : boolean;
clearAllText? : string;
clearValueText? : string;
delimiter? : string;
disabled? : boolean;
filterOption? : (option,filterString : string)=>any;
filterOptions? : (options:Array,filterString : string,values : Array)=>any;
ignoreCase? : boolean; // default true whether to perform case-insensitive filtering
inputProps? : any;
isLoading? : boolean;
labelKey? : string;
matchPos? : string;
matchProp? : string;
multi? : boolean;
name? : string;
newOptionCreator? : ()=>any;
noResultsText? : string;
onBlur? : (event)=>void;
onChange? : (newValue)=>void;
onFocus? : (event)=>void;
onInputChange? : (inputValue)=>void;
onOptionLabelClick? : (value, event)=>void;
optionRenderer? : ()=>void;
options? : Array