style: update code style to please lint

This commit is contained in:
Benjy Cui 2017-03-27 11:00:11 +08:00
parent 5a827f174e
commit 8409cff8db
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ export default class Tabs extends React.Component<TabsProps, any> {
animated, animated,
} = this.props; } = this.props;
let {inkBarAnimated, tabPaneAnimated} = typeof animated === 'object' ? { let { inkBarAnimated, tabPaneAnimated } = typeof animated === 'object' ? {
inkBarAnimated: animated.inkBar, tabPaneAnimated: animated.tabPane, inkBarAnimated: animated.inkBar, tabPaneAnimated: animated.tabPane,
} : { } : {
inkBarAnimated: animated, tabPaneAnimated: animated, inkBarAnimated: animated, tabPaneAnimated: animated,

View File

@ -106,7 +106,7 @@ export default class Tree extends React.Component<TreeProps, any> {
<RcTree <RcTree
{...props} {...props}
className={classString} className={classString}
checkable={checkable ? (<span className={`${prefixCls}-checkbox-inner`} />) : checkable } checkable={checkable ? (<span className={`${prefixCls}-checkbox-inner`} />) : checkable}
> >
{this.props.children} {this.props.children}
</RcTree> </RcTree>