UNPKG

chakra-ui

Version:

Responsive and accessible React UI components built with React and Emotion

21 lines (17 loc) 419 B
/** @jsx jsx */ import { jsx } from "@emotion/core"; import { ThemeProvider as EmotionProvider } from "emotion-theming"; import theme from "./theme"; var ThemeProvider = function ThemeProvider(_ref) { var theme = _ref.theme, children = _ref.children; return jsx( EmotionProvider, { theme: theme }, children ); }; ThemeProvider.defaultProps = { theme: theme }; export default ThemeProvider;