Components are stateless rect elements. They render what you pass to them and call function as callbacks. Components are essential part of the app. Here's the list of available components:
Regular Button can be rendered like this:
<Buttonstyle={styles.demoButton}primarycaption="Button"onPress={this.buttonClicked}/>
Button component takes the following props:
Prop name | Type | Description |
|