Skip to content

Commit

Permalink
fix: set tooltipArrow prop as false by default for the Dropdown compo…
Browse files Browse the repository at this point in the history
…nent
  • Loading branch information
bacali95 committed Apr 13, 2022
1 parent 5e8c291 commit 35ad443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const icons: Record<string, FC<ComponentProps<'svg'>>> = {
};

const DropdownComponent: FC<DropdownProps> = (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(() => {
Expand Down

0 comments on commit 35ad443

Please sign in to comment.