Skip to content

Commit

Permalink
chore(react): improve drag source styles
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Aug 25, 2021
1 parent 0d1472d commit 3cc1996
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react/src/widgets/DragSourceWidget/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ export const DragSourceWidget: React.FC<IDragSourceWidgetProps> = observer(
<div className={prefix + '-content-wrapper'}>
<div className={prefix + '-content'}>
{sources.map(isFn(props.children) ? props.children : renderNode)}
{remainItems && <div className={prefix + '-item-remain'}></div>}
{remainItems ? (
<div className={prefix + '-item-remain'}></div>
) : null}
</div>
</div>
</div>
Expand Down

0 comments on commit 3cc1996

Please sign in to comment.