diff --git a/ui/components/SettingsDialog.tsx b/ui/components/SettingsDialog.tsx index 8524aed..e932cee 100644 --- a/ui/components/SettingsDialog.tsx +++ b/ui/components/SettingsDialog.tsx @@ -8,6 +8,7 @@ import React, { useState, type SelectHTMLAttributes, } from 'react'; +import ThemeSwitcher from './theme/Switcher'; interface InputProps extends React.InputHTMLAttributes {} @@ -27,7 +28,7 @@ interface SelectProps extends SelectHTMLAttributes { options: { value: string; label: string; disabled?: boolean }[]; } -const Select = ({ className, options, ...restProps }: SelectProps) => { +export const Select = ({ className, options, ...restProps }: SelectProps) => { return ( handleThemeSwitch(e.target.value as Theme)} + options={[ + { value: 'light', label: 'Light' }, + { value: 'dark', label: 'Dark' } + ]} /> ); };