blask/styled/switch

Types

pub type SwitchState =
  Bool

Functions

pub fn switch(
  state state: Bool,
  on_state_change state_change: fn(Bool) -> a,
  id id: String,
) -> Element(a)
Search Document