diff --git a/components/popover/PurePanel.tsx b/components/popover/PurePanel.tsx index e84891e127..3e1283e460 100644 --- a/components/popover/PurePanel.tsx +++ b/components/popover/PurePanel.tsx @@ -26,7 +26,16 @@ export interface PurePanelProps extends Omit { } export function RawPurePanel(props: any) { - const { hashId, prefixCls, className, placement = 'top', title, content, children } = props; + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children, + } = props; return (
{children || getOverlay(prefixCls, title, content)} diff --git a/components/tour/PurePanel.tsx b/components/tour/PurePanel.tsx index 045d384a0a..7024207783 100644 --- a/components/tour/PurePanel.tsx +++ b/components/tour/PurePanel.tsx @@ -38,7 +38,7 @@ export default function PurePanel(props: PurePanelProps) { {node}