UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

9 lines (8 loc) 311 B
/** @module copy-button */ import { BasicExtension } from "../../types.js"; /** * Extension that adds a copy button to the editor. * Probably best used with a read-only editor. * You must also import styles from `prism-code-editor/copy-button.css`. */ export declare const copyButton: () => BasicExtension;