From 66e4e3b3c2f89dc34f1ae26feb075d14781a5c8e Mon Sep 17 00:00:00 2001 From: Mayank Kumar Chaudhari Date: Thu, 7 Dec 2023 21:12:10 +0530 Subject: [PATCH] fix typo --- .../pages-router/pages/static-dark-color-scheme.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/pages-router/pages/static-dark-color-scheme.tsx b/examples/pages-router/pages/static-dark-color-scheme.tsx index a36df2be..c0fc5f7e 100644 --- a/examples/pages-router/pages/static-dark-color-scheme.tsx +++ b/examples/pages-router/pages/static-dark-color-scheme.tsx @@ -1,16 +1,16 @@ import { ColorSchemeType } from "nextjs-themes"; -function StaticBlackTheme() { +function StaticDarkColorScheme() { return (
-

Static Black theme by setting theme on page Component

+

Static Color Scheme by setting colorScheme on page Component

           {`function MyPage() {
     return (<>...)
 }
 
-MyPage.theme = "my-theme";
+MyPage.colorScheme = "dark";
 
 export default MyPage;`}
         
@@ -19,6 +19,6 @@ export default MyPage;`} ); } -StaticBlackTheme.colorScheme = "dark" as ColorSchemeType; +StaticDarkColorScheme.colorScheme = "dark" as ColorSchemeType; -export default StaticBlackTheme; +export default StaticDarkColorScheme;