diff --git a/README.md b/README.md index 073ec34..63a491e 100644 --- a/README.md +++ b/README.md @@ -1,253 +1,119 @@ -# Escalated for React Native - -[](https://github.com/escalated-dev/escalated-react-native/actions/workflows/run-tests.yml) -[](https://reactnative.dev/) -[](https://www.typescriptlang.org/) -[](https://opensource.org/licenses/MIT) -[](https://hits.sh/github.com/escalated-dev/escalated-react-native/) - -A full-featured, embeddable support ticket UI for React Native apps. Drop it into any React Native project — get a complete customer-facing helpdesk with ticket management, knowledge base, guest access, and SLA tracking. Connects to the Escalated REST API. - -> **[escalated.dev](https://escalated.dev)** — Learn more, view demos, and compare Cloud vs Self-Hosted options. - -**One provider, full support experience.** Wrap your app with `EscalatedProvider`, point it at your API, and every screen is ready — login, tickets, knowledge base, guest access. Customize colors, auth behavior, and locale with a single config object. TypeScript throughout. +
+ +
+ Add a customer support area to your React Native app.
+ Tickets, a knowledge base and guest tickets, talking to your Escalated backend's REST API.
+
+ Website · + Docs · + Cloud · + Releases +
+ +
+ Every support screen, ready to navigate+ Ticket list, ticket detail with replies and SLA timers, new ticket with attachments, and knowledge base screens, with pre-built React Navigation stacks. + |
+
+ Fits your app instead of fighting it+ One provider holds your colours, radius, locale and dark mode, and auth hooks let you plug in the sign-in you already have. + |
+
| -## Requirements +**Tickets** +- Create, view, filter and reply +- File attachments on tickets and replies +- SLA countdown timers on ticket detail -- React Native 0.72+ -- React 18+ -- Node.js 18+ -- A running Escalated backend (Laravel, Rails, Django, AdonisJS, or WordPress) + | +-## Quick Start +**Self-service** +- Searchable knowledge base +- Post-resolution CSAT star ratings +- Guest tickets without an account -Install the package: + | +-```bash -npm install @escalated-dev/escalated-react-native -``` +**Auth and data** +- Override login, logout, register and token +- React Query fetching and caching -Install peer dependencies: + | +
| -```bash -npm install @react-navigation/native @react-navigation/native-stack @react-navigation/bottom-tabs react-native-screens react-native-safe-area-context -``` +**Navigation** +- Pre-built tab, auth and guest stacks +- Drops into React Navigation -Wrap your app with `EscalatedProvider`: + | +
-```tsx
-import { EscalatedProvider, TicketListScreen } from '@escalated-dev/escalated-react-native';
+**Look and language**
+- Dark and light themes with `useTheme`
+- English, Spanish, French, German
+- Configurable colour, radius, locale and API URL
- |
+
-That's it — your app now has a full support ticket UI.
-
-## Configuration
-
-The `EscalatedProvider` config prop accepts the following options:
-
-```tsx
- |
+