Created
April 5, 2024 19:44
-
-
Save PaulieScanlon/d3262264f314969a2244f384a12fcb59 to your computer and use it in GitHub Desktop.
Example Child 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
// components/child-component.js | |
const ChildComponent = ({ data }) => { | |
return <pre>{JSON.stringify(data, null, 2)}</pre>; | |
}; | |
export default ChildComponent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment