Outlook_Addin_LLM/node_modules/@fluentui/react-tabster/lib/hooks/useUncontrolledFocus.js

12 lines
376 B
JavaScript
Raw Normal View History

import { getTabsterAttribute } from 'tabster';
import { useTabster } from './useTabster';
/**
* Designates an area where tabster does not control focus
* @returns Attribute to apply to the target element that should be uncontrolled by tabster
*/ export function useUncontrolledFocus() {
useTabster();
return getTabsterAttribute({
uncontrolled: {}
});
}