Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Passing props to a component in Ionic React

$
0
0

Hi Folks,

I was wondering if anyone can tell me if it is possible to pass props to a custom component in Ionic React? I tried doing it the react way, for example

<Header data = {data} />

But it did not work. I can use custom components without props though.

Can anyone tell me if it is possible or if there is a workaround for that?

Cheers

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>