Skip to content

Commit

Permalink
Updated the StyleClass type to be compatible with useRef (#3025)
Browse files Browse the repository at this point in the history
  • Loading branch information
dallinlarsen authored Jul 3, 2022
1 parent 857fa6b commit 2a53d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/styleclass/StyleClass.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<React.ReactNode>;
selector?: StyleClassSelectorType;
enterClassName?: string;
enterActiveClassName?: string;
Expand Down

0 comments on commit 2a53d4b

Please sign in to comment.