This is my react Code
I was trying to use createTheme & ThemeProvider to give instant look for user Interface but it makes content un-visible on UI. Read out documentation but still getting error, also searched on stackOverFlow & made bit changes. anyone knows pls help me ? import React from "react"; import { Typography, AppBar, createTheme, ThemeProvider } from '@material-ui/core'; import VideoPlayer from "./components/VideoPlayer"; import Options from "./components/Options"; import Notifications from "./components/Notifications"; const theme = createTheme({ appBar: { borderRadius: 15, margin: '30px 100px', display: 'flex', flexDirection: 'row', justifyContent: 'center', alignItems: 'center', width: '600px', border: '2px solid black', [theme.breakpoints.down('xs')]: { width: '90%', }, }, wrapper: { display: 'flex', flexDirection: 'column', alignItems: 'center', width: '100%', }, }); function App() { return ( <ThemeProvider theme={theme}> <div className="wrapper"> <AppBar className="appBar" position="static" color="inherit"> <Typography variant="h2" align="center">Video Chat</Typography> </AppBar> <VideoPlayer /> <Options> <Notifications /> </Options> </div> </ThemeProvider> ); } export default App;