@cerberus-design/react
Version:
The Cerberus Design React component library.
44 lines (42 loc) • 849 B
JavaScript
import {
createCerberusPrimitive
} from "./chunk-YJRAJNYI.js";
// src/components/tooltip/primitives.ts
import {
Tooltip
} from "@ark-ui/react/tooltip";
import { tooltip } from "styled-system/recipes";
var { withSlotRecipe } = createCerberusPrimitive(tooltip);
var TooltipRoot = withSlotRecipe(
Tooltip.Root,
"root"
);
var TooltipTrigger = withSlotRecipe(
Tooltip.Trigger,
"trigger"
);
var TooltipPositioner = withSlotRecipe(
Tooltip.Positioner,
"positioner"
);
var TooltipContent = withSlotRecipe(
Tooltip.Content,
"content"
);
var TooltipArrow = withSlotRecipe(
Tooltip.Arrow,
"arrow"
);
var TooltipArrowTip = withSlotRecipe(
Tooltip.ArrowTip,
"arrowTip"
);
export {
TooltipRoot,
TooltipTrigger,
TooltipPositioner,
TooltipContent,
TooltipArrow,
TooltipArrowTip
};
//# sourceMappingURL=chunk-4O26WCRC.js.map