Jingsong Gao
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
components/tree/utils/dropIndicator.tsx
|
|
@ -9,7 +9,7 @@ export default function dropIndicatorRender(props: { |
|
|
|
prefixCls: string; |
|
|
|
direction: 'ltr' | 'rtl'; |
|
|
|
}) { |
|
|
|
const { dropPosition, dropLevelOffset, prefixCls, indent, direction } = props; |
|
|
|
const { dropPosition, dropLevelOffset, prefixCls, indent, direction = 'ltr' } = props; |
|
|
|
const startPosition = direction === 'ltr' ? 'left' : 'right'; |
|
|
|
const endPosition = direction === 'ltr' ? 'right' : 'left'; |
|
|
|
const style: React.CSSProperties = { |
|
|
|