Open yookoala opened 7 years ago
The highlight to keyword function expects a function even it is, at this instance, an object attribute. Also eslint dot-notation rule in favour of this syntax instead of PropTypes['function']. Which results in this mess up output:
function
PropTypes['function']
The highlight to keyword
function
expects a function even it is, at this instance, an object attribute. Also eslint dot-notation rule in favour of this syntax instead ofPropTypes['function']
. Which results in this mess up output: