View Source Toggle
<Toggle>
A form element that controls a boolean value.
Overview
Add elements within the toggle to provide a label.
<Toggle isOn={@lights_on} phx-change="toggled-lights">
Lights On
</Toggle>
A form element that controls a boolean value.
Add elements within the toggle to provide a label.
<Toggle isOn={@lights_on} phx-change="toggled-lights">
Lights On
</Toggle>