UNPKG

2.48 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { Tooltip as ArkTooltip } from "@ark-ui/react/tooltip";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useTooltipStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useTooltipStyles };
6export interface TooltipRootProviderBaseProps extends Assign<ArkTooltip.RootProviderBaseProps, SlotRecipeProps<"tooltip">>, UnstyledProp {
7}
8export interface TooltipRootProviderProps extends TooltipRootProviderBaseProps {
9 children?: React.ReactNode;
10}
11export declare const TooltipRootProvider: import("react").FC<TooltipRootProviderProps>;
12export interface TooltipRootBaseProps extends Assign<ArkTooltip.RootBaseProps, SlotRecipeProps<"tooltip">>, UnstyledProp {
13}
14export interface TooltipRootProps extends TooltipRootBaseProps {
15 children?: React.ReactNode;
16}
17export declare const TooltipRoot: import("react").FC<TooltipRootProps>;
18export declare const TooltipPropsProvider: React.Provider<TooltipRootBaseProps>;
19export interface TooltipTriggerProps extends HTMLChakraProps<"button", ArkTooltip.TriggerProps> {
20}
21export declare const TooltipTrigger: import("react").ForwardRefExoticComponent<TooltipTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
22export interface TooltipPositionerProps extends HTMLChakraProps<"div", ArkTooltip.PositionerProps> {
23}
24export declare const TooltipPositioner: import("react").ForwardRefExoticComponent<TooltipPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
25export interface TooltipContentProps extends HTMLChakraProps<"section", ArkTooltip.ContentProps> {
26}
27export declare const TooltipContent: import("react").ForwardRefExoticComponent<TooltipContentProps & import("react").RefAttributes<HTMLDivElement>>;
28export interface TooltipArrowProps extends HTMLChakraProps<"div", ArkTooltip.ArrowProps> {
29}
30export declare const TooltipArrow: import("react").ForwardRefExoticComponent<TooltipArrowProps & import("react").RefAttributes<HTMLDivElement>>;
31export interface TooltipArrowTipProps extends HTMLChakraProps<"div", ArkTooltip.ArrowTipProps> {
32}
33export declare const TooltipArrowTip: import("react").ForwardRefExoticComponent<TooltipArrowTipProps & import("react").RefAttributes<HTMLDivElement>>;
34export declare const TooltipContext: (props: ArkTooltip.ContextProps) => import("react").ReactNode;
35export interface TooltipOpenChangeDetails extends ArkTooltip.OpenChangeDetails {
36}