Skip to content

Instantly share code, notes, and snippets.

@natenault
Created August 10, 2017 11:03
Show Gist options
  • Save natenault/8dd2880dddd95bc5146c6cb0d28037bf to your computer and use it in GitHub Desktop.
Save natenault/8dd2880dddd95bc5146c6cb0d28037bf to your computer and use it in GitHub Desktop.
View the props currently being passed to a component
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