This commit is contained in:
codytseng 2025-01-08 23:17:47 +08:00
parent fe815bcce5
commit 9f0f39f480
11 changed files with 98 additions and 105 deletions

View file

@ -0,0 +1,14 @@
import { toSettings } from '@/lib/link'
import { useSecondaryPage } from '@/PageManager'
import { Settings } from 'lucide-react'
import SidebarItem from './SidebarItem'
export default function SettingsButton() {
const { push } = useSecondaryPage()
return (
<SidebarItem title="Settings" onClick={() => push(toSettings())}>
<Settings strokeWidth={3} />
</SidebarItem>
)
}