pg-custom-button

1.0.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i pg-custom-button

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

1.87 kB

Total Files

3

Last publish

Collaborators

  • piyushgaurav07