ESC
Components > Button
React Native Starter AI comes with a beautifully designed core Button component! As you can expect, you can customize it by props and listen to the onPress event of it and use it anywhere in your mobile applicaiton easily!
It is pretty easy to use. Here is the code snippet below:
react-native-starter-mobile/components/any-component.tsx
1import RNButton from "components/base/RNButton/RNButton";
2...
3 <RNButton text="Continue" onPress={onPressContinue} containerStyle={{ marginTop: 15 }} />
4...