functionalComponent
ReactElement
functionalComponent(
- JSObject props
Create a React element with an inline functional component
Implementation
ReactElement functionalComponent(
String name,
ReactElement Function(JSObject props) render,
) =>
createElement(createFunctionalComponent(render));