UNPKG

473 BTypeScriptView Raw
1/// <reference types="react" />
2import { FocusTrapProps } from './FocusTrap.types';
3/**
4 * Utility component that locks focus inside the component.
5 *
6 * Demos:
7 *
8 * - [Focus Trap](https://mui.com/base/react-focus-trap/)
9 *
10 * API:
11 *
12 * - [FocusTrap API](https://mui.com/base/react-focus-trap/components-api/#focus-trap)
13 */
14declare function FocusTrap(props: FocusTrapProps): JSX.Element;
15declare namespace FocusTrap {
16 var propTypes: any;
17}
18export default FocusTrap;