1.0.1 • Published 7 months ago
pg-custom-button v1.0.1
pg-custom-button
A custom component to render button
Getting started
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'
}}
/>
);
}