mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-29 12:45:32 +08:00
test(backdrop): add testcase
This commit is contained in:
@@ -44,8 +44,7 @@ const Backdrop: React.FC<React.PropsWithChildren<BackdropProps>> = React.memo(
|
||||
<div
|
||||
onClick={childrenClickHandler}
|
||||
className="content"
|
||||
onMouseDown={() => setIsContentMouseDown(true)}
|
||||
onMouseUp={mouseUpHandler}>
|
||||
onMouseDown={() => setIsContentMouseDown(true)}>
|
||||
{children}
|
||||
</div>
|
||||
<div onClick={childrenClickHandler} className="offset" />
|
||||
|
||||
Reference in New Issue
Block a user