Sha256: 7cf768bd4270fb7df53e4c57bd63727595a1a4d505bd5974e87c1a85218831ef
Contents?: true
Size: 344 Bytes
Versions: 22
Compression:
Stored size: 344 Bytes
Contents
import { initClipboard } from "~/assets/js/components/clipboard"; import buttonComponent from "@components/button/component"; export default function copyButtonComponent() { const button = buttonComponent(); return { ...button, copied: false, init() { button.init.bind(this)(); initClipboard(this); }, }; }
Version data entries
22 entries across 22 versions & 1 rubygems