Skip to content

Commit 280d86a

Browse files
committed
test: fix tooltip storybook
1 parent 1c28c9a commit 280d86a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/headless/src/components/tooltip/tooltip.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { Meta, StoryObj } from 'storybook-framework-qwik';
22
import { Tooltip, TooltipProps } from './tooltip';
33

4-
const meta: Meta<typeof Tooltip> = {
4+
const meta: Meta<TooltipProps> = {
55
component: Tooltip,
66
};
77

8-
type Story = StoryObj<typeof Tooltip>;
8+
type Story = StoryObj<TooltipProps>;
99

1010
export default meta;
1111

@@ -14,7 +14,7 @@ export const Primary: Story = {
1414
content: 'Hi there',
1515
},
1616
render: () => (
17-
<Tooltip>
17+
<Tooltip content="test">
1818
<button>Hello</button>
1919
</Tooltip>
2020
),

0 commit comments

Comments
 (0)