summaryrefslogtreecommitdiff
path: root/src/components/ClipboardButton.tsx
blob: 3760e8131ffa190c5e9a574f07ee570474767fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>
  );
}