Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 460 Bytes

08-props.md

File metadata and controls

9 lines (5 loc) · 460 Bytes

Props

  1. Write a component that renders a "Contact" card for a person. The <Contact> component should accept a name, an address and an email as props, and display them. The address should be displayed using an <Address> component.

  2. Render three contact cards. Take them from this contacts.json file. You can import this using:

     import contacts from './contacts.json';