mirror of
https://github.com/project-gauntlet/gauntlet.git
synced 2025-12-23 10:35:53 +00:00
More plugin examples. Clipboard, promise helpers, environment
This commit is contained in:
parent
affeccceb1
commit
417ed8a13a
27 changed files with 812 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ export default function DetailView(): ReactElement {
|
|||
</Detail.Metadata.TagList.Item>
|
||||
<Detail.Metadata.TagList.Item
|
||||
onClick={() => {
|
||||
readFile("https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/PNG_Test.png/477px-PNG_Test.png?20240527104658")
|
||||
readFile("https://github.com/project-gauntlet/gauntlet/blob/main/docs/logo.png?raw=true")
|
||||
.then(image => Clipboard.write({ "text/plain": "Gauntlet Test 1", "image/png": image }));
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue