mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Add dark mode with next-themes
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
import { NextPage } from 'next';
|
||||
import { AppProps } from 'next/app';
|
||||
import { ReactElement } from 'react';
|
||||
|
||||
export type NextPageWithLayout = {
|
||||
getLayout(page: ReactElement): JSX.Element;
|
||||
} & NextPage;
|
||||
|
||||
export type AppPropsWithLayout = AppProps & {
|
||||
Component: NextPageWithLayout;
|
||||
};
|
||||
|
Reference in New Issue
Block a user