Add props.greeting to the <About /> component

This commit is contained in:
Ray 2023-09-05 08:55:33 +00:00 committed by GitHub
parent fd85479666
commit 19a13f21c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
export function About ( props ) {
return ( <h1>About</h1>)
return ( <h1>(props.greeting) </h1>)
}