import React from 'react';
export var hiddenGuard = {
    width: '1px',
    height: '0px',
    padding: 0,
    overflow: 'hidden',
    position: 'fixed',
    top: '1px',
    left: '1px',
};
var InFocusGuard = function (_a) {
    var _b = _a.children, children = _b === void 0 ? null : _b;
    return (React.createElement(React.Fragment, null,
        React.createElement("div", { key: "guard-first", "data-focus-guard": true, "data-focus-auto-guard": true, style: hiddenGuard }),
        children,
        children && React.createElement("div", { key: "guard-last", "data-focus-guard": true, "data-focus-auto-guard": true, style: hiddenGuard })));
};
export default InFocusGuard;
//# sourceMappingURL=FocusGuard.js.map