@wix/design-system
Version:
@wix/design-system
13 lines • 395 B
JavaScript
const Content = ({ children, stickyStyle }) => {
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';
export default Content;
//# sourceMappingURL=Content.js.map