Skip to content

Commit

Permalink
add tooltip type test
Browse files Browse the repository at this point in the history
  • Loading branch information
celineung committed Sep 5, 2023
1 parent 1084a49 commit f888e94
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/types/Tooltip.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Tooltip } from "../../src/Tooltip";

{
<Tooltip description="lorem ipsum">Exemple</Tooltip>;
}
{
<Tooltip kind="hover" description="lorem ipsum">
Exemple
</Tooltip>;
}
{
<Tooltip kind="click" description="lorem ipsum" />;
}
{
<Tooltip kind="click" description="lorem ipsum">
Exemple
</Tooltip>;
}

0 comments on commit f888e94

Please sign in to comment.