use bottom sheet instead of vaul drawer

This commit is contained in:
Milo Schwartz
2024-12-30 15:48:34 -05:00
parent 91d314c4cc
commit e6263567a9
13 changed files with 284 additions and 121 deletions

View File

@@ -1,8 +1,8 @@
"use client";
import * as React from "react";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import { type ThemeProviderProps } from "next-themes/dist/types";
type ThemeProviderProps = React.ComponentProps<typeof NextThemesProvider>;
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;