diff --git a/src/components/Select.tsx b/src/components/Select.tsx index 7ffbfafc..d56788f4 100644 --- a/src/components/Select.tsx +++ b/src/components/Select.tsx @@ -5,24 +5,24 @@ * @date 2017-11-07 */ -import uncontrollable = require("uncontrollable"); -import React from "react"; -import "react-datetime/css/react-datetime.css"; -import Overlay from "./Overlay"; -import PopOver from "./PopOver"; -import Downshift, { ControllerStateAndHelpers } from "downshift"; -import { closeIcon, Icon } from "./icons"; +import uncontrollable = require('uncontrollable'); +import React from 'react'; +import 'react-datetime/css/react-datetime.css'; +import Overlay from './Overlay'; +import PopOver from './PopOver'; +import Downshift, {ControllerStateAndHelpers} from 'downshift'; +import {closeIcon, Icon} from './icons'; // @ts-ignore -import matchSorter from "match-sorter"; -import { noop, isObject } from "../utils/helper"; -import find = require("lodash/find"); -import isPlainObject = require("lodash/isPlainObject"); -import union = require("lodash/union"); -import { highlight } from "../renderers/Form/Options"; -import { findDOMNode } from "react-dom"; -import { ClassNamesFn, themeable } from "../theme"; -import Checkbox from "./Checkbox"; -import Input from "./Input"; +import matchSorter from 'match-sorter'; +import {noop, isObject} from '../utils/helper'; +import find = require('lodash/find'); +import isPlainObject = require('lodash/isPlainObject'); +import union = require('lodash/union'); +import {highlight} from '../renderers/Form/Options'; +import {findDOMNode} from 'react-dom'; +import {ClassNamesFn, themeable} from '../theme'; +import Checkbox from './Checkbox'; +import Input from './Input'; export interface Option { label?: string; @@ -46,7 +46,7 @@ export interface OptionProps { delimiter?: string; clearable?: boolean; placeholder?: string; - autoFill?: { [propName: string]: any }; + autoFill?: {[propName: string]: any}; creatable?: boolean; onAdd?: ( idx?: number | Array, @@ -68,8 +68,8 @@ export function value2array( props: Partial ): Array