A custom component to render button
npm install pg-custom-button
import CustomButton from 'pg-custom-button';
function App() {
return (
<CustomButton
btnText="Submit"
onPress={() => {
alert('pressed');
}}
btnStyle={{
backgroundColor: 'yellow'
}}
btnTextStyle={{
color: 'purple'
}}
/>
);
}