StatelessComponent<TProps> constructor
StatelessComponent<TProps> ([
- TProps? props
Creates a stateless component with optional strongly-typed props.
Implementation
StatelessComponent([TProps? props]) : _props = props;