Skip to content

Instantly share code, notes, and snippets.

@WellDone2094
WellDone2094 / ThemeProvider.tsx
Last active April 2, 2025 18:45
Tan Stack Start Theme provider
'use client';
/*
This file is adapted from next-themes to work with tanstack start.
next-themes can be found at https://github.com/pacocoursey/next-themes under the MIT license.
*/
import * as React from 'react';
interface ValueObject {