feat: copy base64

This commit is contained in:
TrèsAbhi committed 2025-06-12 20:52:06 -05:00
1 parent 0365656a0e
commit 09f5d4e3f7
1 file changed
+5 -1
@@ -248,7 +248,11 @@ function ComponentDisplay({
<IconButton <IconButton
size="1" size="1"
variant="ghost" variant="ghost"
onClick={() => console.log(value.value)} onClick={() => {
navigator.clipboard.writeText(
btoa(String.fromCharCode(...value.value)),
);
}}
> >
<DiscIcon /> <DiscIcon />
</IconButton> </IconButton>