It looks pretty neat, just a note: you cannot use neither class nor for attributes in JSX code, it has to be replaced with className and htmlFor. Other than that I like this approach.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It looks pretty neat, just a note: you cannot use neither
class
norfor
attributes in JSX code, it has to be replaced withclassName
andhtmlFor
. Other than that I like this approach.