diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-15 21:45:20 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-15 21:45:20 -0400 |
| commit | 3f7dd8ce0a0f11f894332a3b4351ecd7a9abd141 (patch) | |
| tree | 94800a7c641dc5f04dc49b291138baf85bb948be /src/components/ClipboardButton.tsx | |
| parent | 15b007fddefecae48a3c736320770411d64bbb8f (diff) | |
| download | decky-lsfg-vk-3f7dd8ce0a0f11f894332a3b4351ecd7a9abd141.tar.gz decky-lsfg-vk-3f7dd8ce0a0f11f894332a3b4351ecd7a9abd141.zip | |
add clipboard web launch button
Diffstat (limited to 'src/components/ClipboardButton.tsx')
| -rw-r--r-- | src/components/ClipboardButton.tsx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/ClipboardButton.tsx b/src/components/ClipboardButton.tsx new file mode 100644 index 0000000..3760e81 --- /dev/null +++ b/src/components/ClipboardButton.tsx @@ -0,0 +1,22 @@ +import { PanelSectionRow, ButtonItem } from "@decky/ui"; +import { FaExternalLinkAlt } from "react-icons/fa"; + +export function ClipboardButton() { + const handleClipboardClick = () => { + window.open("https://github.com/xXJSONDeruloXx/decky-lossless-scaling-vk/wiki/Clipboard", "_blank"); + }; + + return ( + <PanelSectionRow> + <ButtonItem + layout="below" + onClick={handleClipboardClick} + > + <div style={{ display: "flex", alignItems: "center", gap: "8px" }}> + <FaExternalLinkAlt /> + <div>Launch Option Clipboard</div> + </div> + </ButtonItem> + </PanelSectionRow> + ); +} |
