import React, { createContext, useContext } from 'react';
export var ThemeContext = createContext();
export var ThemeProvider = function ThemeProvider(_ref) {
  var theme = _ref.theme,
      children = _ref.children;
  return /*#__PURE__*/React.createElement(ThemeContext.Provider, {
    value: theme
  }, children);
};
export var useThemeValue = function useThemeValue() {
  return useContext(ThemeContext);
};