fix: improve declaration (#3167)

* improve declaration

* remove id props in row
This commit is contained in:
feng zhi hao 2016-09-27 12:04:01 +08:00 committed by Benjy Cui
parent 87753482bf
commit bb22f7864b
2 changed files with 2 additions and 1 deletions

View File

@ -52,6 +52,7 @@ export interface InputProps {
onBlur?: React.FormEventHandler;
autosize?: boolean | AutoSizeType;
autoComplete?: 'on' | 'off';
style?: React.CSSProperties;
}
export default class Input extends Component<InputProps, any> {

View File

@ -31,7 +31,7 @@ export interface TooltipProps {
overlay?: React.ReactNode;
openClassName?: string;
arrowPointAtCenter?: boolean;
getTooltipContainer: (triggerNode: React.ReactNode) => HTMLElement;
getTooltipContainer?: (triggerNode: React.ReactNode) => HTMLElement;
}
export default class Tooltip extends React.Component<TooltipProps, any> {