|
|
@ -3,7 +3,7 @@ import { Component, PropTypes } from 'react'; |
|
|
|
import classNames from 'classnames'; |
|
|
|
import calculateNodeHeight from './calculateNodeHeight'; |
|
|
|
import assign from 'object-assign'; |
|
|
|
import omit from 'object.omit'; |
|
|
|
import omit from 'omit.js'; |
|
|
|
|
|
|
|
function fixControlledValue(value) { |
|
|
|
if (typeof value === 'undefined' || value === null) { |
|
|
@ -35,7 +35,7 @@ interface AutoSizeType { |
|
|
|
export interface InputProps { |
|
|
|
prefixCls?: string; |
|
|
|
className?: string; |
|
|
|
type: string; |
|
|
|
type?: string; |
|
|
|
id?: number | string; |
|
|
|
value?: any; |
|
|
|
defaultValue?: any; |
|
|
|