Created
April 5, 2024 19:43
-
-
Save PaulieScanlon/7922379ad9b8cae864fbc2fac7b7a799 to your computer and use it in GitHub Desktop.
Example Parent 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/parent-component.js | |
import ChildComponent from './child-component'; | |
const ParentComponent = ({ data }) => { | |
return <ChildComponent data={data} />; | |
}; | |
export default ParentComponent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment