From ee176347ac6a61f3415859793ca6623f85631b7d Mon Sep 17 00:00:00 2001 From: Eden Wang Date: Mon, 17 Jul 2017 09:40:55 +0800 Subject: [PATCH] fix ci compile error --- components/modal/ActionButton.tsx | 3 ++- components/modal/Modal.tsx | 3 ++- components/popconfirm/index.tsx | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/components/modal/ActionButton.tsx b/components/modal/ActionButton.tsx index e9ea59149d..2c220e7a6e 100644 --- a/components/modal/ActionButton.tsx +++ b/components/modal/ActionButton.tsx @@ -1,6 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom'; -import Button, { ButtonType } from '../button'; +import Button from '../button'; +import { ButtonType } from '../button/button'; export interface ActionButtonProps { type?: ButtonType; diff --git a/components/modal/Modal.tsx b/components/modal/Modal.tsx index a90955465b..5e823c92b7 100644 --- a/components/modal/Modal.tsx +++ b/components/modal/Modal.tsx @@ -2,7 +2,8 @@ import React from 'react'; import Dialog from 'rc-dialog'; import PropTypes from 'prop-types'; import addEventListener from 'rc-util/lib/Dom/addEventListener'; -import Button, { ButtonType } from '../button'; +import Button from '../button'; +import { ButtonType } from '../button/button'; let mousePosition; let mousePositionEventBinded; diff --git a/components/popconfirm/index.tsx b/components/popconfirm/index.tsx index 5a314bf97d..e3a03463f9 100644 --- a/components/popconfirm/index.tsx +++ b/components/popconfirm/index.tsx @@ -1,7 +1,8 @@ import React from 'react'; import Tooltip, { AbstractTooltipProps } from '../tooltip'; import Icon from '../icon'; -import Button, { ButtonType } from '../button'; +import Button from '../button'; +import { ButtonType } from '../button/button'; import injectLocale from '../locale-provider/injectLocale'; export interface PopconfirmProps extends AbstractTooltipProps {