@real-system/tooltip-primitive
Tooltip primitive components for real system.
Installation
# install peer dependencies
# npm
$ npm install react react-dom @real-system/ariakit-library
# yarn
$ yarn add react react-dom @real-system/ariakit-library
# install tooltip-primitive
# npm
$ npm install @real-system/tooltip-primitive
# yarn
$ yarn add @real-system/tooltip-primitive
Code Example
import type {
TooltipAnchorPrimitiveProps,
TooltipArrowPrimitiveOptions,
TooltipArrowPrimitiveProps,
TooltipPrimitiveProps,
TooltipStorePrimitive,
TooltipStorePrimitiveProps,
} from '@real-system/tooltip-primitive';
import {
TooltipAnchorPrimitive,
TooltipArrowPrimitive,
ATooltipPrimitive,
useTooltipStorePrimitive,
} from '@real-system/tooltip-primitive';
...