2021-04-28 18:08:03 +02:00

19 lines
349 B
Plaintext

This rule raised an issue when a component is used in the ``++render()++`` method and not ``++import++``ed or defined.
== Noncompliant Code Example
----
<Rating value={this.props.measure.reliability_rating} />;
----
== Compliant Solution
----
import Rating from './Rating'
[...]
<Rating value={this.props.measure.reliability_rating} />
----