https://github.com/arin-paliwal/customlibrarybutton
A simple, reusable, and customizable Button component created to demonstrate publishing to the GitHub Registry as an NPM package.
https://github.com/arin-paliwal/customlibrarybutton
button github-registry npm-package react
Last synced: 8 months ago
JSON representation
A simple, reusable, and customizable Button component created to demonstrate publishing to the GitHub Registry as an NPM package.
- Host: GitHub
- URL: https://github.com/arin-paliwal/customlibrarybutton
- Owner: arin-paliwal
- License: mit
- Created: 2024-12-31T07:28:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-20T09:07:30.000Z (about 1 year ago)
- Last Synced: 2025-02-26T11:18:41.584Z (about 1 year ago)
- Topics: button, github-registry, npm-package, react
- Language: TypeScript
- Homepage:
- Size: 267 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 🚀 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:
```bash
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 = () => (
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.