'How to use the target model using data-bs-target in React component. Do we need to use target model in the App.js as that component not available

How to use the target model using data-bs-target in React component. Do we need to use target model portfolioModal1 in the App.js as that component not available while importing.

Also the class="fas fa-plus fa-3x" is not working and the plus icon is not displaying.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source