import { useGlobal } from '@/lib/global' import React from 'react' import { Draggable } from './Draggable' import { ALL_THEME } from '@/lib/theme' /** * * @returns 主题切换 */ const ThemeSwitch = () => { const { theme, changeTheme } = useGlobal() const onSelectChange = (e) => { changeTheme(e.target.value) } return (<>
{/*
{theme}
*/}
) } export default ThemeSwitch