๐Ÿงช Challenges

Reusable Modal Component with Portals

Challenge 2 - Easy

Description

Build a modal component that uses React Portals to render its children into a DOM node outside the parent component hierarchy. Ensure it can be reused with different content..

Objective

Practice using portals and prop typing for reusable components.

๐Ÿ›๏ธ ๐Ÿงฎ ๐Ÿ“ โš›๏ธ ๐Ÿงช ๐Ÿ