Skip to content

A simple, reusable, and customizable Button component created to demonstrate publishing to the GitHub Registry as an NPM package.

License

Notifications You must be signed in to change notification settings

arin-paliwal/CustomLibraryButton

Repository files navigation

🚀 Custom React Button

A reusable and customizable Button component created as a learning project to publish a package to the GitHub NPM Registry.

📦 Features

  • 🔧 Customizable: Tailor styles and functionality effortlessly.
  • Lightweight: Minimal and optimized for performance.
  • 📜 Educational: Demonstrates publishing to the GitHub Registry.

🛠️ Installation

Install the package from the GitHub NPM Registry:

npm install @yourusername/your-button-package --registry=https://npm.pkg.github.com
📋 Usage
Import the Button component and use it in your React application:

import Button from '@yourusername/your-button-package';

const App = () => (
  <Button label="Click Me!" onClick={() => alert('Button clicked')} />
);

export default App;
🌟 Contributing
Feel free to submit issues or pull requests to improve the package!

📄 License
This project is licensed under the MIT License.

About

A simple, reusable, and customizable Button component created to demonstrate publishing to the GitHub Registry as an NPM package.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published