// Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 import React, { FC, PropsWithChildren } from 'react'; import { BrowserRouter as Router } from 'react-router-dom'; import { ThemeProvider } from 'styled-components'; import { NotificationProvider, GlobalStyles, LoggerProvider, } from 'amazon-chime-sdk-component-library-react'; import { demoLightTheme, demoDarkTheme } from './theme/demoTheme'; import { AppStateProvider, useAppState } from './providers/AppStateProvider'; import ErrorProvider from './providers/ErrorProvider'; import Notifications from './containers/Notifications'; import MeetingProviderWrapper from './containers/MeetingProviderWrapper'; import meetingConfig from './meetingConfig'; const App: FC = () => ( ); const Theme: React.FC = ({ children }) => { const { theme } = useAppState(); return ( {children} ); }; export default App;