1.0.1 • Published 7 months ago

pg-custom-button v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

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'
			}}
		/>
	);
}
1.0.1

7 months ago

1.0.0

7 months ago