Hello, i am struggling with finding the solution for this:
How to add a console.log
statement to print out the props
for my MyComponent
page component?
import * as React from 'react'
import Layout from '../components/layout'
const MyComponent = () => {
return (
<Layout pageTitle="Super Cool Blog Posts">
<p>My blog post contents will go here (eventually).</p>
</Layout>
)
}
export default MyComponent