/** @format */ import { CssBaseline, MuiThemeProvider } from "@material-ui/core" import React, { ReactNode, HTMLAttributes } from "react" import { createTheme, ColorScheme, Theme } from "./theme" import { Provider, defaultTheme, Button } from "@adobe/react-spectrum" import "./sass/main.scss" export type ThemeProviderProps = { /** * primary color of theme. */ colorScheme?: ColorScheme } & HTMLAttributes export function ThemeProvider({ colorScheme, children, ...props }: ThemeProviderProps) { const theme = createTheme(colorScheme) return (
{children}
) }