mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-03 02:11:07 +05:30
feat(renderer): AppHeader gets Settings + About icon buttons
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { PanelLeft, PanelRight, Keyboard } from 'lucide-react';
|
||||
import { PanelLeft, PanelRight, Keyboard, Settings, Info } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { ThemeToggle } from '@/components/theme-toggle';
|
||||
import { useAppStore } from '@/stores/app-store';
|
||||
@@ -47,6 +47,22 @@ export function AppHeader() {
|
||||
>
|
||||
<Keyboard className="h-4 w-4" />
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
aria-label="Settings"
|
||||
onClick={() => dispatch('settings.open')}
|
||||
>
|
||||
<Settings className="h-4 w-4" />
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
aria-label="About"
|
||||
onClick={() => dispatch('help.about')}
|
||||
>
|
||||
<Info className="h-4 w-4" />
|
||||
</Button>
|
||||
<ThemeToggle />
|
||||
</div>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user