mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-28 18:06:30 +02:00
11 lines
No EOL
324 B
TypeScript
11 lines
No EOL
324 B
TypeScript
import { CopyButton } from "@/components/common/copy-button";
|
|
|
|
export function CopyAsJsonButton({ onCopy }: { onCopy: () => void }) {
|
|
return <div className="absolute top-0 right-0">
|
|
<CopyButton
|
|
onCopy={onCopy}
|
|
label="Copy as JSON"
|
|
successLabel="Copied"
|
|
/>
|
|
</div>
|
|
} |