Skip to main content
100%

Props in react

✓ Published1🌍 Public
JJunyanL
Last edited Feb 14, 2020
Created on Feb 14, 2020
Forked from To-do list

This example demonstrates how React components pass and receive data through props. The App component renders three Contact components, each receiving a `card` object containing image URLs, names, phone numbers, and emails from placeholder kitten images. The Contact component uses destructuring with a default value for the `ashy` property, logging the props object to the console. The code uses React 16.10 with `ReactDOM.render` to mount the component tree in the root element.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes