From c672bf1e35c46d043b4b08d39771f528181a500a Mon Sep 17 00:00:00 2001 From: sageTheDM Date: Fri, 11 Oct 2024 09:30:03 +0200 Subject: [PATCH] DropDownTheme comments --- app/components/settings/DropDownTheme.tsx | 25 ++++++++++++----------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/app/components/settings/DropDownTheme.tsx b/app/components/settings/DropDownTheme.tsx index 793a19d..e065989 100644 --- a/app/components/settings/DropDownTheme.tsx +++ b/app/components/settings/DropDownTheme.tsx @@ -2,9 +2,10 @@ import React from 'react'; const ThemeDropdown: React.FC<{ - selectedTheme: string; - setSelectedTheme: (theme: string) => void; + selectedTheme: string; // Currently selected theme + setSelectedTheme: (theme: string) => void; // Function to update the selected theme }> = ({ selectedTheme, setSelectedTheme }) => { + // Define available theme options const themeOptions = [ { value: 'IOMARKET', label: 'IOMARKET' }, { value: 'WHITE', label: 'WHITE' }, @@ -14,22 +15,22 @@ const ThemeDropdown: React.FC<{ ]; return ( -
-

Select Theme

+
{/* Container for the dropdown */} +

Select Theme

{/* Label for the dropdown */}