A copy block button.
Install
npm install @fluid-topics/ft-copy-block
yarn add @fluid-topics/ft-copy-block
Usage
import { html } from "lit"
import "@fluid-topics/ft-copy-block"
function render() {
return html` <ft-copy-block><pre>window.alert("toto")</pre></ft-copy-block> `
}