Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6365

How to add refs to an array in React Native?

$
0
0

I want to store a ref in each elements of my arrays.Can I insert it direcrly in my array (modifying it) ?

    const item = [  {    id: "1",    name: "Text1",  },  {    id: "2",    name: "Text2",  },];

Viewing all articles
Browse latest Browse all 6365

Trending Articles