- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
17 lines
648 B
JavaScript
17 lines
648 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { FOCUS_ALLOW } from 'focus-lock/constants';
|
|
import { inlineProp } from './util';
|
|
var FreeFocusInside = function FreeFocusInside(_ref) {
|
|
var children = _ref.children,
|
|
className = _ref.className;
|
|
return /*#__PURE__*/React.createElement("div", _extends({}, inlineProp(FOCUS_ALLOW, true), {
|
|
className: className
|
|
}), children);
|
|
};
|
|
FreeFocusInside.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
children: PropTypes.node.isRequired,
|
|
className: PropTypes.string
|
|
} : {};
|
|
export default FreeFocusInside; |