@@ -208,7 +208,7 @@ class YearAndMonth extends BaseComponent<YearAndMonthProps, YearAndMonthState> {
<div className={prefix}>
<IconButton
noHorizontalPadding={false}
- iconType={<IconChevronLeft size={iconSize} />}
+ icon={<IconChevronLeft size={iconSize} />}
size={buttonSize}
onClick={this.backToMain}
>
@@ -301,7 +301,7 @@ export default class Tooltip extends BaseComponent<TooltipProps, TooltipState> {
if (this.clickOutsideHandler) {
this.adapter.unregisterClickOutsideHandler();
}
- this.clickOutsideHandler = (e: MouseEvent): any => {
+ this.clickOutsideHandler = (e: React.MouseEvent): any => {
if (!this.mounted) {
return false;