jeudi 22 septembre 2016

Unable to key property value using enzyme for react

My react component is ''. When i run this:

console.log('title is: ' + render.props().title);

I get LOG: 'title is: undefined'. How to get the value of title? In this case 'asdf'. Thank you

Aucun commentaire:

Enregistrer un commentaire