From 35ad443ab4bbc77cb1a2ab72e3ffd00805bcf073 Mon Sep 17 00:00:00 2001 From: Nasreddine Bac Ali Date: Wed, 13 Apr 2022 15:19:12 +0200 Subject: [PATCH] fix: set tooltipArrow prop as false by default for the Dropdown component --- src/components/dropdown/Dropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dropdown/Dropdown.tsx b/src/components/dropdown/Dropdown.tsx index 00b3721c1..2a1d9b2cd 100644 --- a/src/components/dropdown/Dropdown.tsx +++ b/src/components/dropdown/Dropdown.tsx @@ -25,7 +25,7 @@ const icons: Record>> = { }; const DropdownComponent: FC = (props) => { - const { children, className, label, inline, tooltipArrow, arrowIcon = true, ...restProps } = props; + const { children, className, label, inline, tooltipArrow = false, arrowIcon = true, ...restProps } = props; const { placement = inline ? 'bottom-start' : 'bottom', trigger = 'click', ...buttonProps } = restProps; const Icon = useMemo(() => {