We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db75d24 commit 1d1ee90Copy full SHA for 1d1ee90
packages/material-ui/src/utils/focusVisible.js
@@ -139,5 +139,10 @@ export function useIsFocusVisible() {
139
}
140
}, []);
141
142
+ if (process.env.NODE_ENV !== 'production') {
143
+ // eslint-disable-next-line react-hooks/rules-of-hooks
144
+ React.useDebugValue(isFocusVisible);
145
+ }
146
+
147
return { isFocusVisible, onBlurVisible: handleBlurVisible, ref };
148
0 commit comments