diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2025-07-15 20:41:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-15 20:41:17 -0400 |
| commit | 52b2b5fbce49a19abc0b1e55db83b2d67903312f (patch) | |
| tree | e86b7bbafc74c68683617904bf77092fc6361c05 /src/components/WikiButton.tsx | |
| parent | 92cce332191f9150cbd85d01423ee20a680d8246 (diff) | |
| parent | ec4541dd78f4e2a58b679b20740f323d8ce76698 (diff) | |
| download | decky-lsfg-vk-52b2b5fbce49a19abc0b1e55db83b2d67903312f.tar.gz decky-lsfg-vk-52b2b5fbce49a19abc0b1e55db83b2d67903312f.zip | |
Merge pull request #14 from xXJSONDeruloXx/remote-bumpv0.3.1
v0.3.1
Diffstat (limited to 'src/components/WikiButton.tsx')
| -rw-r--r-- | src/components/WikiButton.tsx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/WikiButton.tsx b/src/components/WikiButton.tsx new file mode 100644 index 0000000..80ff1d9 --- /dev/null +++ b/src/components/WikiButton.tsx @@ -0,0 +1,22 @@ +import { PanelSectionRow, ButtonItem } from "@decky/ui"; +import { FaExternalLinkAlt } from "react-icons/fa"; + +export function WikiButton() { + const handleWikiClick = () => { + window.open("https://github.com/PancakeTAS/lsfg-vk/wiki", "_blank"); + }; + + return ( + <PanelSectionRow> + <ButtonItem + layout="below" + onClick={handleWikiClick} + > + <div style={{ display: "flex", alignItems: "center", gap: "8px" }}> + <FaExternalLinkAlt /> + <div>LSFG-VK Wiki</div> + </div> + </ButtonItem> + </PanelSectionRow> + ); +} |
