UNPKG

@fluentui/react-tabster

Version:

Utilities for focus management and facade for tabster

12 lines (11 loc) 376 B
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: {} }); }