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