Const
Styled theme mode switch component
StyledSwitchMode
A customized switch component for toggling between light and dark themes with:
React props
Material-UI theme object
<StyledSwitchMode checked={darkMode} onChange={toggleTheme} inputProps={{ 'aria-label': 'toggle dark mode' }}/> Copy
<StyledSwitchMode checked={darkMode} onChange={toggleTheme} inputProps={{ 'aria-label': 'toggle dark mode' }}/>
Styled theme mode switch component