Skip to content

Commit

Permalink
fixup! add tooltip type test
Browse files Browse the repository at this point in the history
  • Loading branch information
celineung committed Aug 30, 2023
1 parent 4e4f8b3 commit ee676fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/types/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { useTooltip } from "../../src/Tooltip";
const tooltipOnClick = useTooltip({ trigger: "click" });

<>
<button {...tooltipOnClick.tooltipOwnerProps}>Plus d'information ?</button>
<button {...tooltipOnClick.tooltipOwnerProps}>En savoir plus</button>
<tooltipOnClick.TooltipComponent>Tooltip content</tooltipOnClick.TooltipComponent>
</>;
}

0 comments on commit ee676fb

Please sign in to comment.