Skip to content

Commit df1c2b1

Browse files
celineungrevolunet
authored andcommitted
add tooltip type test
1 parent 8bafe77 commit df1c2b1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

test/types/Tooltip.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { Tooltip } from "../../src/Tooltip";
2+
3+
{
4+
<Tooltip description="lorem ipsum">Exemple</Tooltip>;
5+
}
6+
{
7+
<Tooltip kind="hover" description="lorem ipsum">
8+
Exemple
9+
</Tooltip>;
10+
}
11+
{
12+
<Tooltip kind="click" description="lorem ipsum" />;
13+
}
14+
{
15+
<Tooltip kind="click" description="lorem ipsum">
16+
Exemple
17+
</Tooltip>;
18+
}

0 commit comments

Comments
 (0)