Initial Commit
This commit is contained in:
12
electron/src/components/ToggleTheme.tsx
Normal file
12
electron/src/components/ToggleTheme.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Moon } from "lucide-react";
|
||||
import React from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { toggleTheme } from "@/helpers/theme_helpers";
|
||||
|
||||
export default function ToggleTheme() {
|
||||
return (
|
||||
<Button onClick={toggleTheme} size="icon">
|
||||
<Moon size={16} />
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user