GoScrobble/web/node_modules/react-bootstrap/cjs/divWithClassName.js

24 lines
733 B
JavaScript

"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _classnames = _interopRequireDefault(require("classnames"));
var _default = function _default(className) {
return /*#__PURE__*/_react.default.forwardRef(function (p, ref) {
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, p, {
ref: ref,
className: (0, _classnames.default)(p.className, className)
}));
});
};
exports.default = _default;
module.exports = exports["default"];