DartFunctionComponent typedef

DartFunctionComponent = dynamic Function(JsBackedMap props)

A React component declared using a function that takes in props and returns rendered output.

See reactjs.org/docs/components-and-props.html#function-and-class-components.

props is typed as JsBackedMap so that dart2js can optimize props accesses.

Implementation

typedef DartFunctionComponent = /*ReactNode*/ dynamic Function(JsBackedMap props);