Which of the following is the correct syntax for creating a ReactElement of type h1 having the properties object and a ReactText as its only child?
Correct Answer:
[
render: function 0{
return React.createElement('h1'. [ className: ‘header' ], ‘React
Component‘);
I
I
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More React.js MCQ Questions