UNPKG

clubzella-comic-test-v1

Version:

A clubzella widget component library for React Native.

88 lines (58 loc) β€’ 2.08 kB
# πŸ“š clubzella-comics-widget A plug-and-play comics widget for React Native apps. Built to display Clubzella comics through a floating button UI that opens an interactive panel for users to explore and read content. --- ## ✨ Features - πŸ”˜ Floating action button (FAB) with custom circular UI - πŸ“– Quick access to β€œRead Now” interface - πŸ“š Dynamic comics panel pulled using your `apiKey` - πŸ”§ Minimal configuration – just import and drop into your app --- ## πŸ“¦ Installation ```bash npm install clubzella-comics-widget # or yarn add clubzella-comics-widget ``` > Ensure you have installed the peer dependencies: ```bash npm install react react-native @expo/vector-icons react-native-webview ``` --- ## πŸš€ Usage ```tsx import React from "react" import { Widget } from "clubzella-comics-widget" export default function App() { return ( <> {/* Other components */} <Widget apiKey="YOUR_API_KEY" /> </> ) } ``` This will render a floating widget button at the bottom right of your app. When tapped, it expands to a panel displaying Clubzella comics. --- ## βš™οΈ Props | Prop | Type | Required | Description | | -------- | ------ | -------- | ----------------------------------------- | | `apiKey` | string | βœ… Yes | Your Clubzella API key for fetching data. | --- ## 🧱 Components Breakdown Internally, the widget includes: - `CircleText` – Custom FAB content - `ReadNow` – Preview + CTA to open the comics panel - `ComicsPanel` – The main comic listing panel (fetched via `apiKey`) All of these are connected and controlled from the `Widget` root component. --- ## πŸ“ License MIT Β© [Clubzella](https://github.com/zellastudios) --- ## πŸ“¬ Contributions Issues and PRs are welcome! Help us improve and expand the widget by contributing directly to the repo. ```bash git clone https://github.com/zellastudios/zella-widget.git cd zella-widget npm install npm run build ```