Skip to content

Commit

Permalink
[tooltip] little reveiew fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyabrower committed Jul 12, 2024
1 parent f3da6e4 commit 5d54725
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion semcore/tooltip/src/Tooltip.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ function TooltipPopper(props) {
use:theme={resolveColor(theme)}
use:aria-live={undefined}
ref={popperRef}
__excludeProps={['arrowBgColor', 'arrowShadowColor']}
>
<Children />
<SArrow
Expand Down
2 changes: 1 addition & 1 deletion semcore/tooltip/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Popper, {
eventInteraction,
} from '@semcore/popper';

type ArrowCustom = {
export type ArrowCustom = {
arrowBgColor?: string;
arrowShadowColor?: string;
};
Expand Down
2 changes: 1 addition & 1 deletion semcore/tooltip/src/style/tooltip.shadow.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ SArrow[theme='warning'] {
}
}

SArrow[bgColor][shadowColor] {
SArrow[bgColor] {
border-color: var(--shadowColor);

&::before {
Expand Down

0 comments on commit 5d54725

Please sign in to comment.