this

props

index

)}

/View

);

class

App

extends

React

Component

onPress

index

=>

console

log

Card

index

);

};

render

()

return

View

FlatList

data

{[

...

]}

renderItem

{({

item

})

=>

CustomCard

onPress

this

onPress

index

item