elixir_script_react v1.0.2-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 = %{"hello" => world}
children = []

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