From 064d9c4b788068773fbd8e25f55d2022e6e3b384 Mon Sep 17 00:00:00 2001 From: Liam Simmons Date: Mon, 23 Dec 2024 15:47:03 -0500 Subject: [PATCH] Add target prop for react --- .../playbook/pb_circle_icon_button/_circle_icon_button.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbook/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.tsx b/playbook/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.tsx index 38343f6535..5e0b4bd7f2 100644 --- a/playbook/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.tsx +++ b/playbook/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.tsx @@ -20,6 +20,7 @@ type CircleIconButtonProps = { onClick?: React.MouseEventHandler, newWindow?: boolean, type?: 'button' | 'submit' | 'reset' | undefined, + target?: string variant?: 'primary' | 'secondary' | 'link', } @@ -36,6 +37,7 @@ const CircleIconButton = (props: CircleIconButtonProps): React.ReactElement => { loading = false, onClick = noop, type, + target, link, newWindow, variant, @@ -66,6 +68,7 @@ const CircleIconButton = (props: CircleIconButtonProps): React.ReactElement => { loading={loading} newWindow={newWindow} onClick={onClick} + target={target} text={null} variant={variant} >