From 2a53d4b9001991153ebbd9ba729f633177ad43e1 Mon Sep 17 00:00:00 2001 From: dallinlarsen <56076097+dallinlarsen@users.noreply.github.com> Date: Sun, 3 Jul 2022 05:36:10 -0600 Subject: [PATCH] Updated the StyleClass type to be compatible with useRef (#3025) --- components/lib/styleclass/StyleClass.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/styleclass/StyleClass.d.ts b/components/lib/styleclass/StyleClass.d.ts index 490187e136..13da89f298 100644 --- a/components/lib/styleclass/StyleClass.d.ts +++ b/components/lib/styleclass/StyleClass.d.ts @@ -3,7 +3,7 @@ import * as React from 'react'; type StyleClassSelectorType = '@next' | '@prev' | '@parent' | '@grandparent' | string; export interface StyleClassProps { - nodeRef?: React.ReactNode; + nodeRef: React.MutableRefObject; selector?: StyleClassSelectorType; enterClassName?: string; enterActiveClassName?: string;