Files
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

12 lines
281 B
JavaScript

'use client';
import { useChartContext } from "../context/ChartProvider/index.js";
/**
* Get the ref for the root chart element.
* @returns The root chart element ref.
*/
export function useChartRootRef() {
const context = useChartContext();
return context.chartRootRef;
}