SHARE
TWEET

Untitled

a guest Jun 16th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <MuiThemeProvider theme={currentTheme}>
  2.     <MuiThemeProvider theme={currentTheme1}>
  3.       <DarkModeProvider>
  4.       <CssBaseline />
  5.         <LocationProvider >
  6.         <NavBar />
  7.           <PageContent>
  8.             <Routes/>
  9.           </PageContent>
  10.         </LocationProvider>
  11.       </DarkModeProvider>
  12.     </MuiThemeProvider>
  13.   </MuiThemeProvider>
  14.      
  15. const { isDarkMode, toggleTheme } = useContext(ThemeContext);              
  16.  
  17.        <MenuItem style={isDarkMode ? {backgroundColor: '#1565c0'} :  
  18.             {backgroundColor: '#343a40'}}
  19.             className={classes.menuItemDisplay} onClick=
  20.             {handleClose}>Profile</MenuItem>
  21.         <MenuItem style={isDarkMode ? {backgroundColor: '#1565c0'} :  
  22.             {backgroundColor: '#343a40'}}
  23.         <Paper style={isDarkMode ? {backgroundColor:
  24.          '#1565c0',height:'100vh'} :  {backgroundColor:
  25.          '#343a40',height:'100vh'}}>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top