UNPKG

@airplane/views

Version:

A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.

17 lines (16 loc) 492 B
import { jsx } from "react/jsx-runtime"; import { createEmotionCache, MantineProvider } from "@mantine/core"; import { THEME } from "./theme.js"; const emotionCache = createEmotionCache({ key: "airplane" }); emotionCache.compat = true; const ThemeProvider = ({ children }) => { return /* @__PURE__ */ jsx(MantineProvider, { theme: THEME, withGlobalStyles: true, withNormalizeCSS: true, emotionCache, children }); }; export { ThemeProvider }; //# sourceMappingURL=ThemeProvider.js.map