@fluid-topics/ft-confirm-button
v1.3.21
Published
A two step confirmation button
Readme
A two step confirmation button
Install
npm install @fluid-topics/ft-confirm-button
yarn add @fluid-topics/ft-confirm-buttonUsage
import {html} from "lit"
import "@fluid-topics/ft-confirm-button"
function render() {
return html` <ftds-confirm-button
primary
buttonText: "Do action",
text: "The message in the confirmation dialog",
confirmText: "Confirm",
cancelText: "Cancel action"
></ftds-confirm-button> `
}