mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 02:16:23 +00:00
14 lines
407 B
TypeScript
14 lines
407 B
TypeScript
|
/* eslint-disable header/header */
|
||
|
import React from "react";
|
||
|
|
||
|
const handleClick = async () =>
|
||
|
console.log((await import("@webpack/common")).Clipboard.copy("\u200b"));
|
||
|
|
||
|
export const Example: React.FC<{
|
||
|
real: boolean,
|
||
|
shigged?: number,
|
||
|
}> = ({ real, shigged }) => <>
|
||
|
<p>{`Shigg${real ? `ies${shigged === 0x1B ? "t" : ""}` : "y"}`}</p>
|
||
|
<button onClick={handleClick}>Click Me</button>
|
||
|
</>;
|