From fd625ef1a0aa12a901b17557a0cf72f041bf77d8 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 31 May 2017 15:48:11 +0800 Subject: [PATCH] upgrade and fix tslint problems --- components/badge/index.tsx | 2 +- components/date-picker/RangePicker.tsx | 4 ++-- components/date-picker/createPicker.tsx | 2 +- components/modal/confirm.tsx | 6 +++--- components/tabs/index.tsx | 2 +- components/tag/index.tsx | 2 +- package.json | 2 +- tsconfig.json | 2 ++ 8 files changed, 12 insertions(+), 10 deletions(-) diff --git a/components/badge/index.tsx b/components/badge/index.tsx index 35a23bf333..4bce3e94ff 100644 --- a/components/badge/index.tsx +++ b/components/badge/index.tsx @@ -110,7 +110,7 @@ export default class Badge extends React.Component { component="" showProp="data-show" transitionName={children ? `${prefixCls}-zoom` : ''} - transitionAppear={true} + transitionAppear > {scrollNumber} diff --git a/components/date-picker/RangePicker.tsx b/components/date-picker/RangePicker.tsx index f1e91ed0fe..e2f257e29b 100644 --- a/components/date-picker/RangePicker.tsx +++ b/components/date-picker/RangePicker.tsx @@ -224,7 +224,7 @@ export default class RangePicker extends React.Component { { ~ {props.cancelText} - + {props.okText} @@ -65,7 +65,7 @@ export default function confirm(config) { } else { footer = (
-