Please help on ReactJS part 1 on this.props exercise 12

I’m stuck on instruction 2 On line 15, give the Button component class a defaultProps property. Make this property equal to an object.

Give the defaultProps object one property, so that text’s default value is equal to ‘I am a button’.

The button’s appearance should change. Much better!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.