mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +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,
|
||||
} = this.props;
|
||||
|
||||
let {inkBarAnimated, tabPaneAnimated} = typeof animated === 'object' ? {
|
||||
let { inkBarAnimated, tabPaneAnimated } = typeof animated === 'object' ? {
|
||||
inkBarAnimated: animated.inkBar, tabPaneAnimated: animated.tabPane,
|
||||
} : {
|
||||
inkBarAnimated: animated, tabPaneAnimated: animated,
|
||||
|
@ -106,7 +106,7 @@ export default class Tree extends React.Component<TreeProps, any> {
|
||||
<RcTree
|
||||
{...props}
|
||||
className={classString}
|
||||
checkable={checkable ? (<span className={`${prefixCls}-checkbox-inner`} />) : checkable }
|
||||
checkable={checkable ? (<span className={`${prefixCls}-checkbox-inner`} />) : checkable}
|
||||
>
|
||||
{this.props.children}
|
||||
</RcTree>
|
||||
|
Loading…
Reference in New Issue
Block a user