@atlaskit/drawer
Version:
A drawer is a panel that slides in from the left side of the screen.
10 lines (9 loc) • 309 B
TypeScript
import React from 'react';
import { type FocusLockProps } from '../types';
/**
* __Focus lock__
*
* Thin wrapper around react-focus-lock.
*/
declare const FocusLock: ({ isFocusLockEnabled, autoFocusFirstElem, shouldReturnFocus, children, }: FocusLockProps) => React.JSX.Element;
export default FocusLock;