Skip to main content

Module react

Module react 

Source
Expand description

Generate React JSX from the Newt layout tree.

Maps Newt elements to HTML/React equivalents with inline styles. The output is a self-contained React component.

Functions§

layout_to_react
Generate a complete React component from a Newt program.