@fluid-topics/ft-toggle
v2.0.4
Published
A simple toggle component
Readme
A toggle component. It is used to toggle Dark background in a Custom component, for example.
Install
npm install @fluid-topics/ft-toggle
yarn add @fluid-topics/ft-toggleUsage
import { html } from "lit"
import "@fluid-topics/ft-toggle"
function render() {
return html`<ft-toggle checked>Toggle me</ft-toggle>`
}