Created
August 10, 2017 11:03
-
-
Save natenault/8dd2880dddd95bc5146c6cb0d28037bf to your computer and use it in GitHub Desktop.
View the props currently being passed to a component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
const Testing = props => { | |
return ( | |
<pre> | |
<code>{JSON.stringify(props, null, 4)}</code> | |
</pre> | |
); | |
}; | |
export default Testing; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment