View as Markdown

API reference: @salmonui/overlays/tooltip

TooltipContentPropstype

import type { TooltipContentProps } from '@salmonui/overlays/tooltip';
type TooltipContentProps = Omit<HTMLAttributes<HTMLDivElement>, 'id' | 'role'> & {
    readonly [attribute: `data-${string}`]: string | number | boolean | undefined;
};

contentProps: DOM attributes of the content element, data-* attributes included.