Tooltip API
Every prop of the 4 parts Tooltip exports, generated from the package manifest.
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- Tooltip · TooltipContent · TooltipProvider · TooltipTrigger
- Contract
- packages/brand-system/src/components/tooltip.contract.test-d.ts
- Demos
- 4 on the Tooltip page — rendered live, hydrated
- Source
- packages/brand-system/src/components/tooltip.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Tooltip is for, how it composes and what it looks like, see Tooltip.
Tooltip
Re-exported from @radix-ui/react-tooltip. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
TooltipContent
Inherited from @radix-ui/react-tooltip — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
TooltipProvider
Inherited from @radix-ui/react-tooltip — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
TooltipTrigger
Re-exported from @radix-ui/react-tooltip. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type