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,42 @@
"use client";
/*
* Documentation:
* Area Chart — https://app.subframe.com/f023064a5ca0/library?component=Area+Chart_8aa1e7b3-5db6-4a62-aa49-137ced21a231
*/
import React from "react";
import * as SubframeCore from "@subframe/core";
import * as SubframeUtils from "../../utils";
export interface AreaChartRootProps
extends React.ComponentProps<typeof SubframeCore.AreaChart> {
stacked?: boolean;
className?: string;
}
const AreaChartRoot = React.forwardRef<
React.ElementRef<typeof SubframeCore.AreaChart>,
AreaChartRootProps
>(function AreaChartRoot(
{ stacked = false, className, ...otherProps }: AreaChartRootProps,
ref
) {
return (
<SubframeCore.AreaChart
className={SubframeUtils.twClassNames("h-80 w-full", className)}
ref={ref}
stacked={stacked}
colors={[
"#3b82f6",
"#bfdbfe",
"#2563eb",
"#93c5fd",
"#1d4ed8",
"#60a5fa",
]}
{...otherProps}
/>
);
});
export const AreaChart = AreaChartRoot;
@@ -0,0 +1,10 @@
"use client";
import { AreaChart as AreaChartComponent } from "./AreaChart";
/**
* 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 AreaChart = AreaChartComponent;