@boobalan_jkkn/api-client
v1.0.1
Published
Reusable API client component for React applications
Maintainers
Readme
Features
- 🚀 Zero configuration setup
- ⚛️ React Server Component compatible
- 🔒 Built-in Bearer token authentication
- ✨ Automatic error handling
- 📱 Responsive design with Tailwind CSS
- 💪 Full TypeScript support
Props
| Prop | Type | Required | Description | |----------|----------|----------|--------------------------------------| | apiKey | string | Yes | Your API authentication key | | apiUrl | string | Yes | Base URL of your API | | endpoint | string | Yes | API endpoint path | | headers | object | No | Additional custom request headers |
