How to create a button in React Native?
import React from "react" import { Button } from "react-native" function ApplyButton() { return ( <Button onPress={onPressApply} color="#e91e63" accessibilityLabel="Apply to this job" > <Text>Apply to SensioLabs</Text> </Button> ) }
import React from "react" import { Button } from "react-native" function ApplyButton() { return ( <Button onPress={onPressApply} color="#e91e63" accessibilityLabel="Apply to this job" > Apply to SensioLabs </Button> ) }
import React from "react" import { Button } from "react-native" function ApplyButton() { return ( <Button onPress={onPressApply} title="Apply to SensioLabs" color="#e91e63" accessibilityLabel="Apply to this job" /> ) }
import React from "react" import { Button } from "react-native" function ApplyButton() { return ( <Button onPress={onPressApply} title="Apply to SensioLabs" type="button" color="#e91e63" accessibility-label="Apply to this job" > Apply to this job </Button> ) }