blask/styled/select

Types

pub type SelectState(o) =
  USelectState(o)

Constants

pub const init_state: fn(a, List(a)) -> SelectState(a)

Functions

pub fn select(
  state state: SelectState(a),
  on_state_change on_state_change: fn(SelectState(a)) -> b,
  display option_to_str: fn(a) -> String,
) -> Element(b)
Search Document