This project has been developed for educational goals whit open source code. Here you'll find concepts like styled-components and react-switch.
available at github/darktheme-switch
βββ /src # Main directory
| |ββ /components # Header component is here
β βββ /styles # Contains global style and themes
β βββ /utils # Persistent state to store current theme
β βββ App.tsx # Main component that will render our implementation
1- yarn start
or
npm run start
output:
// Open by browser
http://localhost:3000/
Contact: thdomingues.dev@gmail.com π§