Track HiveGrid Cloud planning reference

This commit is contained in:
david committed 2026-06-26 20:48:01 +02:00
1 parent b3d5ea6764
commit e341c5938a
5784 files changed
+1104929 -3

No files matched your search

@@ -0,0 +1,39 @@
"use client";
/*
* Documentation:
* Tooltip — https://app.subframe.com/f023064a5ca0/library?component=Tooltip_ccebd1e9-f6ac-4737-8376-0dfacd90c9f3
*/
import React from "react";
import * as SubframeUtils from "../../utils";
export interface TooltipRootProps extends React.HTMLAttributes<HTMLDivElement> {
children?: React.ReactNode;
className?: string;
}
const TooltipRoot = React.forwardRef<HTMLDivElement, TooltipRootProps>(
function TooltipRoot(
{ children, className, ...otherProps }: TooltipRootProps,
ref
) {
return (
<div
className={SubframeUtils.twClassNames(
"flex flex-col items-start gap-2 rounded-md border border-solid border-[#171717] bg-[#262626] px-2 py-1 shadow-lg",
className
)}
ref={ref}
{...otherProps}
>
{children ? (
<span className="font-['Inter'] text-[12px] font-[400] leading-[16px] text-[#ffffff]">
{children}
</span>
) : null}
</div>
);
}
);
export const Tooltip = TooltipRoot;
@@ -0,0 +1,10 @@
"use client";
import { Tooltip as TooltipComponent } from "./Tooltip";
/**
* Add wrapper components and business logic here.
* If you modify this file, disable Subframe sync for it to prevent overwrites.
* Learn more: https://docs.subframe.com/concepts/syncing-components#wrapping-components
*/
export const Tooltip = TooltipComponent;