Add your custom StatefulWidget to the widget tree
in the app’s build method.

Props

In React Native, most components can be customized when they are
created with different parameters or properties, called props.
These parameters can be used in a child component using this.props.

// React Native

class

CustomCard

extends

React

Component

render

()

return

View

Text

Card

this

props

index

/Text

Button

title

Press

onPress

{()

=>

this

props

onPress

this

props

index