Skip to content

Commit

Permalink
Re-export types from next-themes (#321)
Browse files Browse the repository at this point in the history
re-export types
  • Loading branch information
cschroeter authored Nov 4, 2024
1 parent 2a39066 commit 06b6a39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions next-themes/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 06b6a39

Please sign in to comment.