From 06b6a39ceb1ac050d25bcd84e2552dd9f8c4a5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Schr=C3=B6ter?= Date: Mon, 4 Nov 2024 20:40:10 +0100 Subject: [PATCH] Re-export types from `next-themes` (#321) re-export types --- next-themes/src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next-themes/src/index.tsx b/next-themes/src/index.tsx index 0a53b02..faef424 100644 --- a/next-themes/src/index.tsx +++ b/next-themes/src/index.tsx @@ -245,3 +245,6 @@ const getSystemTheme = (e?: MediaQueryList | MediaQueryListEvent) => { const systemTheme = isDark ? 'dark' : 'light' return systemTheme } + +// Re-export types +export type { Attribute, ThemeProviderProps, UseThemeProps } from './types'