Created
February 1, 2021 23:23
-
-
Save caelinsutch/bade51cbdda95336daa53b561aae2c81 to your computer and use it in GitHub Desktop.
UserAccount
This file contains hidden or 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
// Don't pass primatives | |
<UserAccount | |
name={user.name} | |
email={user.email} | |
id={user.id} | |
/> | |
// Pass objects | |
<UserAccount user={user} /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment