From 8cf629f1267abd2b7aa2ead4a12cadd3c1a04c61 Mon Sep 17 00:00:00 2001
From: susuhhhhhh <75416694+susu-hu@users.noreply.github.com>
Date: Wed, 21 Feb 2024 19:37:40 +0800
Subject: [PATCH] demo: replace abandoned APIs with new ones (#47519)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* fix:废弃 api 替换成新 api
* Update demo-extend.test.ts.snap
---------
Co-authored-by: lijianan <574980606@qq.com>
---
.dumi/theme/slots/Header/index.tsx | 2 +-
.../__tests__/__snapshots__/demo-extend.test.ts.snap | 6 +-----
components/tooltip/demo/arrow-point-at-center.tsx | 2 +-
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/.dumi/theme/slots/Header/index.tsx b/.dumi/theme/slots/Header/index.tsx
index c09f5ddc79dc..3b2978c73731 100644
--- a/.dumi/theme/slots/Header/index.tsx
+++ b/.dumi/theme/slots/Header/index.tsx
@@ -360,7 +360,7 @@ const Header: React.FC = () => {
content={menu}
trigger="click"
open={menuVisible}
- arrow={{ arrowPointAtCenter: true }}
+ arrow={{ pointAtCenter: true }}
onOpenChange={onMenuVisibleChange}
>