// Type definitions for react-select v1.0.0 // Project: https://github.com/JedWatson/react-select // Definitions by: ESQUIBET Hugo , Gilad Gray // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// declare namespace ReactSelect { interface Option { /** Text for rendering */ label: string; /** Value for searching */ value: string | number; /** * Allow this option to be cleared * @default true */ clearableValue?: boolean; } interface ReactSelectProps extends __React.Props { /** * text to display when `allowCreate` is true. * @default 'Add "{label}"?' */ addLabelText?: string; /** * blurs the input element after a selection has been made. Handy for lowering the keyboard on mobile devices. * @default false */ autoBlur?: boolean; /** * allow new options to be created in multi mode (displays an "Add