Skip to content

Commit 7dacf0e

Browse files
committed
docs: adding more variants to the stories
1 parent a5ebcb6 commit 7dacf0e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/components/experimental/Tooltip/docs/Tooltip.stories.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,19 @@ export const TooltipWithBottomPlacement: Story = {
5050
content: 'I am a bottom tooltip'
5151
}
5252
};
53+
54+
export const TooltipWithoutArrow: Story = {
55+
args: {
56+
hideArrow: true,
57+
content: 'I have no arrow'
58+
}
59+
};
60+
61+
export const TooltipWithOffset: Story = {
62+
args: {
63+
tooltipProps: {
64+
crossOffset: 50
65+
},
66+
content: 'I have an offset of 50px'
67+
}
68+
};

0 commit comments

Comments
 (0)