@fluid-topics/ft-toggle
v1.1.68
Published
A simple toggle component
Downloads
1,287
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-toggle
Usage
import { html } from "lit"
import "@fluid-topics/ft-toggle"
function render() {
return html`<ft-toggle checked>Toggle me</ft-toggle>`
}