From 725680445e221258bb6faa8f6e37b4968a3de8f5 Mon Sep 17 00:00:00 2001 From: xuhuihui Date: Mon, 5 Dec 2022 12:21:33 +0800 Subject: [PATCH] feat: Popconfirm title and description props(change the title display logic )2 --- components/popconfirm/PurePanel.tsx | 2 +- components/popconfirm/style/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/popconfirm/PurePanel.tsx b/components/popconfirm/PurePanel.tsx index 486be2380b38..e04006323f44 100644 --- a/components/popconfirm/PurePanel.tsx +++ b/components/popconfirm/PurePanel.tsx @@ -64,7 +64,7 @@ export const Overlay: React.FC = (props) => { {icon && {icon}}
{getRenderPropValue(title)} diff --git a/components/popconfirm/style/index.tsx b/components/popconfirm/style/index.tsx index 14527c8735b1..1ce9d75bd8ef 100644 --- a/components/popconfirm/style/index.tsx +++ b/components/popconfirm/style/index.tsx @@ -50,7 +50,7 @@ const genBaseStyle: GenerateStyle = (token) => { flex: 'auto', marginInlineStart: marginXS, }, - '&-title-bold': { + '&-title-only': { fontWeight: fontWeightStrong, }, },