),
parameters: {
docs: {
description: {
story:
'Use asChild on TooltipTrigger when the hover or focus target should be an existing element.',
},
},
},
}
export const LongContent: Story = {
render: (_args) => (
This is a longer tooltip that demonstrates how the component handles
content that spans multiple lines and requires more space to display
properly.
),
parameters: {
docs: {
description: {
story:
'Constrain long tooltip content with a max width so supplementary text wraps cleanly.',
},
},
},
}
export const WithDelay: Story = {
render: (_args) => (
),
parameters: {
docs: {
description: {
story:
'Use delayDuration when the tooltip should appear faster or slower than the provider default.',
},
},
},
}