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;