diff --git a/components/popconfirm/PurePanel.tsx b/components/popconfirm/PurePanel.tsx index 58796e37d0fa..e04006323f44 100644 --- a/components/popconfirm/PurePanel.tsx +++ b/components/popconfirm/PurePanel.tsx @@ -29,6 +29,7 @@ export interface OverlayProps | 'okType' | 'showCancel' | 'title' + | 'description' > { prefixCls: string; close?: Function; @@ -42,6 +43,7 @@ export const Overlay: React.FC = (props) => { okButtonProps, cancelButtonProps, title, + description, cancelText, okText, okType = 'primary', @@ -60,8 +62,15 @@ export const Overlay: React.FC = (props) => {
{icon && {icon}} -
{getRenderPropValue(title)}
+
+ {getRenderPropValue(title)} +
+
{getRenderPropValue(description)}
{showCancel && (