diff --git a/components/popconfirm/PurePanel.tsx b/components/popconfirm/PurePanel.tsx index 92956124f30f..486be2380b38 100644 --- a/components/popconfirm/PurePanel.tsx +++ b/components/popconfirm/PurePanel.tsx @@ -62,7 +62,13 @@ export const Overlay: React.FC = (props) => {
{icon && {icon}} -
{getRenderPropValue(title)}
+
+ {getRenderPropValue(title)} +
{getRenderPropValue(description)}
diff --git a/components/popconfirm/style/index.tsx b/components/popconfirm/style/index.tsx index aa9a552c8459..eaaa9f08f7cd 100644 --- a/components/popconfirm/style/index.tsx +++ b/components/popconfirm/style/index.tsx @@ -34,7 +34,6 @@ const genBaseStyle: GenerateStyle = (token) => { marginBottom: marginXS, color: colorText, fontSize, - fontWeight: fontWeightStrong, display: 'flex', flexWrap: 'nowrap', alignItems: 'start', @@ -51,6 +50,13 @@ const genBaseStyle: GenerateStyle = (token) => { flex: 'auto', marginInlineStart: marginXS, }, + '&-title-bold': { + fontWeight: fontWeightStrong, + }, + }, + + [`${componentCls}-message-bold`]: { + fontWeight: fontWeightStrong, }, [`${componentCls}-description`]: {