MCPcopy Create free account
hub / github.com/LevelUpWeb3/app / CopyButtonProps

Interface CopyButtonProps

src/components/MDXCodeHighlighter/CopyButton.tsx:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import EditorTooltip from "../EditorTooltip";
9import useCheckViewport from "@/hooks/useCheckViewport";
10interface CopyButtonProps {
11 text: string;
12 sx: object;
13}
14
15const CopyButton: React.FC<CopyButtonProps> = ({ sx, text }) => {
16 const [copied, setCopied] = React.useState(false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected