blask/styled/tabs

Types

pub type TabsItem(msg) =
  #(String, Element(msg))
pub type TabsState =
  UTabsState

Constants

pub const init_state: fn() -> TabsState

Functions

pub fn tabs(
  state state: TabsState,
  on_state_change on_state_change: fn(TabsState) -> a,
  tabs tab_items: List(#(String, Element(a))),
) -> Element(a)
Search Document