UNPKG

728 BTypeScriptView Raw
1import * as React from 'react';
2import {ReactFocusLockProps, AutoFocusProps, FreeFocusProps, InFocusGuardProps} from "./interfaces";
3
4/**
5 * Traps Focus inside a Lock
6 */
7export default class ReactFocusLock extends React.Component<ReactFocusLockProps> {
8}
9
10/**
11 * Autofocus on children on Lock activation
12 */
13export class AutoFocusInside extends React.Component<AutoFocusProps> {
14}
15
16/**
17 * Autofocus on children
18 */
19export class MoveFocusInside extends React.Component<AutoFocusProps> {
20}
21
22/**
23 * Allow free focus inside on children
24 */
25export class FreeFocusInside extends React.Component<FreeFocusProps> {
26}
27
28/**
29 * Secures the focus around the node
30 */
31export class InFocusGuard extends React.Component<InFocusGuardProps> {
32}
\No newline at end of file