mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
style: update code style to please lint
This commit is contained in:
parent
5a827f174e
commit
8409cff8db
@ -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,
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user