This commit is contained in:
Morten Olsen
2023-03-26 22:15:07 +02:00
commit 9b1a067d56
80 changed files with 7889 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import React, { ReactNode } from 'react';
import { ThemeProvider as StyledThemeProvider } from 'styled-components';
import { Theme } from './theme';
type Props = {
theme: Theme;
children: ReactNode;
};
const ThemeProvider: React.FC<Props> = ({ theme, children }) => (
<StyledThemeProvider theme={theme}>{children}</StyledThemeProvider>
);
export { ThemeProvider };