Add props.greeting to the <About /> component
This commit is contained in:
parent
fd85479666
commit
19a13f21c7
|
@ -1,3 +1,3 @@
|
|||
export function About ( props ) {
|
||||
return ( <h1>About</h1>)
|
||||
return ( <h1>(props.greeting) </h1>)
|
||||
}
|
Loading…
Reference in New Issue