@codecademy/gamut

68.2.268.2.3-alpha.809fdd.0
dist/BarChart/utils/hooks.d.ts
~dist/BarChart/utils/hooks.d.tsModified
+2−2
Index: package/dist/BarChart/utils/hooks.d.ts
===================================================================
--- package/dist/BarChart/utils/hooks.d.ts
+++ package/dist/BarChart/utils/hooks.d.ts
@@ -54,12 +54,12 @@
  * @returns A function that takes a background color and returns either 'white' or 'navy-900'
  */
 export declare const useBarBorderColor: () => (bg: Colors) => "white" | "navy-900";
 export declare const useMeasureCategoryLabelWidth: ({ ref, }: {
-    ref: React.RefObject<HTMLElement>;
+    ref: React.RefObject<HTMLElement | null>;
 }) => void;
 export declare const useMeasureTotalValueLabelWidth: ({ ref, }: {
-    ref: React.RefObject<HTMLElement>;
+    ref: React.RefObject<HTMLElement | null>;
 }) => void;
 export interface CustomSortOption<TBar extends BarProps = BarProps> {
     label: string;
     value: string;