sprocket/component

Functions

pub fn component(
  c: fn(Context, a) -> #(Context, Element),
  props: a,
) -> Element
pub fn render(
  ctx: Context,
  elements: Element,
) -> #(Context, Element)
Search Document