Skip to content

Commit

Permalink
feat(v5): Set new arrow class for popover and tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletsang committed Aug 7, 2020
1 parent 4daed01 commit 2ce3e08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const Popover: Popover = (React.forwardRef<HTMLDivElement, PopoverProps>(
)}
{...props}
>
<div className="arrow" {...arrowProps} />
<div className="popover-arrow" {...arrowProps} />
{content ? <PopoverContent>{children}</PopoverContent> : children}
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const Tooltip: Tooltip = React.forwardRef<HTMLDivElement, TooltipProps>(
)}
{...props}
>
<div className="arrow" {...arrowProps} />
<div className="tooltip-arrow" {...arrowProps} />
<div className={`${bsPrefix}-inner`}>{children}</div>
</div>
);
Expand Down

0 comments on commit 2ce3e08

Please sign in to comment.