Skip to content

Instantly share code, notes, and snippets.

@Nilanth

Nilanth/.jsx Secret

Created August 24, 2021 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nilanth/d71eb49255e46790fa57a08e9df18159 to your computer and use it in GitHub Desktop.
Save Nilanth/d71eb49255e46790fa57a08e9df18159 to your computer and use it in GitHub Desktop.
myapp
import 'tailwindcss/tailwind.css'
import Navigation from "../components/Navigation";
import { ThemeProvider } from 'next-themes'
function MyApp({ Component, pageProps }) {
return <>
<ThemeProvider attribute="class" enableSystem={false}>
<Navigation/>
<Component {...pageProps} />
</ThemeProvider>
</>
}
export default MyApp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment