immersivity_react
Version:
Immersivity React wrapper. Feel the depth.
7 lines • 387 B
JavaScript
import { __assign } from "tslib";
import React from 'react';
export var withParallaxClassName = function (WrappedComponent) { return function (props) {
var _a;
return React.createElement(WrappedComponent, __assign({}, props, { className: ((_a = props.className) !== null && _a !== void 0 ? _a : "") + " " + "parallax_container" }));
}; };
//# sourceMappingURL=withParallax.js.map