Sha256: 6ba0872e6c1b24732a111e61aadc1ea20c8b0aea2af265b93d800c76e898125b

Contents?: true

Size: 357 Bytes

Versions: 47

Compression:

Stored size: 357 Bytes

Contents

import { initClipboard } from "~/app/assets/lookbook/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

47 entries across 47 versions & 1 rubygems

Version Path
lookbook-1.0.0.beta.6 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.beta.5 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.beta.4 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.beta.3 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.beta.2 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.beta.1 app/components/lookbook/copy_button/component.js
lookbook-1.0.0.beta.0 app/components/lookbook/copy_button/component.js