@fluid-topics/ft-switch
v1.1.99
Published
two-state
Downloads
2,697
Readme
A switch component.
Install
npm install @fluid-topics/ft-switch
yarn add @fluid-topics/ft-switch
Usage
import { html } from "lit"
import "@fluid-topics/ft-switch"
function render() {
return html` <ft-switch>
<ft-switch-option value="on">on</ft-switch-option>
<ft-switch-option value="off">off</ft-switch-option>
</ft-switch>`
}