From 7ce801cf8188b17898b90e93db2b74bbc833cc08 Mon Sep 17 00:00:00 2001 From: Viktor Yang Date: Fri, 10 Jan 2025 21:39:52 +0800 Subject: [PATCH] Suuport the rest type for BpkPopover (#3705) Co-authored-by: Viktor Yang --- packages/bpk-component-popover/src/BpkPopover.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/bpk-component-popover/src/BpkPopover.tsx b/packages/bpk-component-popover/src/BpkPopover.tsx index 269582feac..3f876eb54d 100644 --- a/packages/bpk-component-popover/src/BpkPopover.tsx +++ b/packages/bpk-component-popover/src/BpkPopover.tsx @@ -111,6 +111,7 @@ export type Props = CloseButtonProps & { actionText?: string; onAction?: () => void; renderTarget?: () => HTMLElement | HTMLElement | undefined; + [rest: string]: any; }; const BpkPopover = ({