elixir_script_react v1.0.0-react.15.6.1 React

FFI Module for interacting with the React JavaScript module.

Link to this section Summary

Link to this section Functions

Link to this function createElement(type, props, children)

Creates a React Element

props = ElixirScript.JS.map_to_object(%{"hello" => world})
children = []

React.createElement("div", props, children)