@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
15 lines (14 loc) • 536 B
TypeScript
import { ChildrenProp } from "../core/types.js";
import "../core/index.js";
import { FocusLockProps } from "./focusLock.types.js";
import { FC } from "react";
//#region src/focusLock/focusLock.d.ts
/**
* Traps the focus within the provided content.
*
* Tabbing using the keyboard will only cycle through the children and won't leave the boundary of the FocusLock wrapper.
*/
declare const FocusLock: FC<FocusLockProps & ChildrenProp>;
//#endregion
export { FocusLock, FocusLock as default };
//# sourceMappingURL=focusLock.d.ts.map