react-focus-lock
Advanced tools
Comparing version 1.17.3 to 1.17.4
@@ -186,3 +186,3 @@ "use strict"; | ||
whiteList: _propTypes.default.func, | ||
as: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]), | ||
as: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func, _propTypes.default.object]), | ||
lockProps: _propTypes.default.object, | ||
@@ -189,0 +189,0 @@ onActivation: _propTypes.default.func, |
@@ -172,3 +172,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
whiteList: PropTypes.func, | ||
as: PropTypes.oneOfType([PropTypes.string, PropTypes.func]), | ||
as: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]), | ||
lockProps: PropTypes.object, | ||
@@ -175,0 +175,0 @@ onActivation: PropTypes.func, |
{ | ||
"name": "react-focus-lock", | ||
"version": "1.17.3", | ||
"version": "1.17.4", | ||
"description": "It is a trap! (for a focus)", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
@@ -74,3 +74,3 @@ <div align="left"> | ||
- `whiteList` you could _whitelist_ locations FocusLock should carry about. Everything outside it will ignore. For example - any modals. | ||
- `as` if you need to change internal `div` element, to any other | ||
- `as` if you need to change internal `div` element, to any other. Use ref forwarding to give FocusLock the node to work with. | ||
- `lockProps` to pass any extra props (except className) to the internal wrapper. | ||
@@ -77,0 +77,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71346
20