diff --git a/components/input/Input.tsx b/components/input/Input.tsx index 05a5b255f6..d857a0c194 100644 --- a/components/input/Input.tsx +++ b/components/input/Input.tsx @@ -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 { diff --git a/components/tooltip/index.tsx b/components/tooltip/index.tsx index 93f891086f..335061a7ef 100644 --- a/components/tooltip/index.tsx +++ b/components/tooltip/index.tsx @@ -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 {