Skip to content

Commit

Permalink
fix: 解决 Resizer 组件 handle 的 className 不生效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
limaofeng committed Sep 5, 2022
1 parent e09fb74 commit 23b8f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Designer/components/resizer/Resizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function Resizer(props: ResizerProps) {
style={style}
>
{React.cloneElement(handle, {
className: handleClassName,
className: classnames(handle?.props?.className, handleClassName),
onMouseDown: handleMouseDown,
})}
{children}
Expand Down

0 comments on commit 23b8f95

Please sign in to comment.