StatefulComponent<TProps> constructor

StatefulComponent<TProps>([
  1. TProps? props
])

Creates a stateful component with optional strongly-typed props.

Implementation

StatefulComponent([TProps? props]) : _props = props;