zidniryi

AppProps.js

Sep 22nd, 2020
851
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react'
  2.  
  3. function User(props) {
  4.   return <h1>Hello, {props.name}</h1>
  5. }
  6.  
  7. export default function Home() {
  8.   return (
  9.     <div>
  10.       <User name="John" />
  11.       <User name="Jane" />
  12.       <User name="Jimmy" />
  13.     </div>
  14.   )
  15. }
  16.  
RAW Paste Data