UNPKG
react-focus-lock
Version:
beta (1.17.0)
latest (2.13.7)
2.13.7
2.13.6
2.13.5
2.13.4
2.13.3
2.13.2
2.13.1
2.13.0
2.12.1
2.12.0
2.11.3
2.11.2
2.11.1
2.11.0
2.10.1
2.10.0
2.9.8
2.9.7
2.9.6
2.9.5
2.9.4
2.9.3
2.9.2
2.9.1
2.9.0
2.8.1
2.8.0
2.7.1
2.7.0
2.6.0
2.5.2
2.5.1
2.5.0
2.4.1
2.4.0
2.3.1
2.3.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.19.1
1.19.0
1.18.3
1.18.2
1.18.1
1.18.0
1.17.7
1.17.6
1.17.5
1.17.4
1.17.3
1.17.2
1.17.1
1.17.0
1.16.2
1.16.1
1.16.0
1.15.0
1.14.1
1.14.0
1.13.2
1.13.1
1.13.0
1.12.1
1.12.0
1.11.3
1.11.2
1.11.1
1.11.0
1.10.0
1.9.1
1.9.0
1.8.1
1.8.0
1.7.0
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.9
1.4.8
1.4.7
1.4.6
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
It is a trap! (for a focus)
github.com/theKashey/react-focus-lock
theKashey/react-focus-lock
react-focus-lock
/
dist
/
cjs
/
scope.js
8 lines
(7 loc)
•
228 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
focusScope
=
void
0
;
var
_react =
require
(
"react"
);
var
focusScope =
exports
.
focusScope
=
/*#__PURE__*/
(
0
, _react.
createContext
)(
undefined
);