Passing Data To a Component

Pass data into a reusable component with props, written as attributes such as <CategoryCard category="Beverages" id="1" />, and read them by destructuring.

Updated

Cheat sheet: Passing Data To a Component
Category
React
Level
Apprentice
Tags
react