Skip to content

Commit b0cb94b

Browse files
committed
add Tooltip example
1 parent 5c127e8 commit b0cb94b

File tree

1 file changed

+10
-0
lines changed
  • apps/qwik-demo-app/src/routes/Tooltip/BasicTooltip

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { component$ } from '@builder.io/qwik';
2+
import { SfTooltip } from 'qwik-storefront-ui';
3+
4+
export default component$(() => {
5+
return (
6+
<SfTooltip label="This is a tooltip!">
7+
<span>Hover me!</span>
8+
</SfTooltip>
9+
);
10+
});

0 commit comments

Comments
 (0)