gild/react

Types

pub type Element =
  #(String, Props, String)
pub type Prop =
  #(String, String)
pub type Props =
  List(Prop)

Functions

pub fn children(
  element: #(String, List(#(String, String)), String),
  children: String,
) -> #(String, List(#(String, String)), String)
pub fn create_element(
  tag: String,
) -> #(String, List(#(String, String)), String)
pub fn jsx(markup: String) -> String
pub fn prop(
  element: #(String, List(#(String, String)), String),
  prop: #(String, String),
) -> #(String, List(#(String, String)), String)
pub fn render(
  element: #(String, List(#(String, String)), String),
) -> #(String, List(#(String, String)), String)
Search Document