wix-style-react
Version:
13 lines (12 loc) • 533 B
JavaScript
import React from 'react';
import { theme } from '../../index';
import ThemeProvider from '../../../../ThemeProvider';
/*
* This is just a simple usage of the Theme to calculate the additional bundle size
* Pay attention that the bundle size limitiaion is the maximum size. If only some components in the theme are used in a project, the bundle could be smaller
*/
export default (function () {
return /*#__PURE__*/React.createElement(ThemeProvider, {
theme: theme()
}, /*#__PURE__*/React.createElement("div", null));
});