Skip to content

Instantly share code, notes, and snippets.



Last active Nov 27, 2020
What would you like to do?
App.jsx - How to Pass All Props to a Child Component in React
import React from "react"
import "./styles.css"
import ParentComponent from "./ParentComponent"
const App = () => (
<div className="App">
<ParentComponent name="Johnny" job="👨‍🎤">
export default App
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment