💨
This commit is contained in:
parent
fe815bcce5
commit
9f0f39f480
11 changed files with 98 additions and 105 deletions
14
src/components/Sidebar/SettingsButton.tsx
Normal file
14
src/components/Sidebar/SettingsButton.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue