Skip to content

Commit

Permalink
chore(MessageBar): ignore lint warning for newly deprecated className
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpenner committed Dec 13, 2024
1 parent 551a4a4 commit 9805fc6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const useMessageBar_unstable = (props: MessageBarProps, ref: React.Ref<HT
const autoReflow = layout === 'auto';
const { ref: reflowRef, reflowing } = useMessageBarReflow(autoReflow);
const computedLayout = autoReflow ? (reflowing ? 'multiline' : 'singleline') : layout;
// eslint-disable-next-line deprecation/deprecation
const { className: transitionClassName, nodeRef } = useMessageBarTransitionContext();
const actionsRef = React.useRef<HTMLDivElement | null>(null);
const bodyRef = React.useRef<HTMLDivElement | null>(null);
Expand Down

0 comments on commit 9805fc6

Please sign in to comment.