@real-system/tooltip-primitive
v0.0.25
Published
Tooltip primitive components for real system.
Downloads
17
Maintainers
Readme
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';
...