Hello,
I am want to use a div in my app. So when I am trying to get the id, it shows: “Can’t find variable: document”. Below is the code:
In component did mount I want to get the Id as:
document.getElementById(‘playlist’)
Is there is another way to use the div in react native.
Please help…
Thanks…