-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Mobile 1.0.0
-
Component/s: None
-
Epic Link:
-
Tags:
-
Sprint:nxfit 8.3.4, nxfit 8.3.5
-
Story Points:5
Currently, we use constructor args to set component property but we should use "props".
Define the "propTypes" object in each component to define properties accepted by the component.
http://wecodetheweb.com/2015/06/02/why-react-proptypes-are-important/
https://facebook.github.io/react/docs/reusable-components.html