From 10adc36f0c44fdebaf11538a3d4329874d077311 Mon Sep 17 00:00:00 2001 From: xuhuihui Date: Mon, 5 Dec 2022 12:24:36 +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 | 3 ++- 2 files changed, 3 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..324bbdac207e 100644 --- a/components/popconfirm/style/index.tsx +++ b/components/popconfirm/style/index.tsx @@ -50,7 +50,8 @@ const genBaseStyle: GenerateStyle = (token) => { flex: 'auto', marginInlineStart: marginXS, }, - '&-title-bold': { + + '&-title-only': { fontWeight: fontWeightStrong, }, },