@wix/design-system
Version:
@wix/design-system
22 lines (21 loc) • 490 B
JavaScript
;
exports.__esModule = true;
exports.default = void 0;
var Content = _ref => {
var {
children,
stickyStyle
} = _ref;
if (typeof children === 'function') {
// TODO: children probably never get passed as a function, check and refactor
// @ts-expect-error
return children({
stickyStyle
});
} else {
return children;
}
};
Content.displayName = 'Page.Content';
var _default = exports.default = Content;
//# sourceMappingURL=Content.js.map