open-index/open-npm huggingface dataset:
npm package: @reviewskits/types
Description: Shared TypeScript definitions for ReviewsKits
Author: ReviewsKits Team
Latest version: 0.1.0

# @reviewskits/types

<div align="center">
  <img src="https://raw.githubusercontent.com/reviews-kits-team/reviews-kits/main/apps/docs/docs/public/logo.svg" alt="ReviewsKits Logo" width="120" />
  <h3>Shared TypeScript Definitions for ReviewsKits</h3>
  <p>The core type definitions and interfaces used across the ReviewsKits ecosystem.</p>
</div>

<p align="center">
  <a href="https://docs.reviewskits.com"><strong>Explore the docs »</strong></a>
  <br />
  <br />
  <a href="https://reviewskits.com">Website</a>
  ·
  <a href="https://docs.reviewskits.com">Documentation</a>
</p>

## 📦 About

This package contains the shared TypeScript types, interfaces, and enums used by:
- `@reviewskits/react`
- `@reviewskits/vue`
- ReviewsKits Backend API

## 🚀 Installation

This package is typically installed automatically as a dependency of the official SDKs. If you need it directly:

```bash
bun add @reviewskits/types
# or
npm install @reviewskits/types
```

## 💻 Usage

Most types are exported directly from the root:

```typescript
import type { Review, ReviewsKitConfig } from '@reviewskits/types'

const myConfig: ReviewsKitConfig = {
  pk: 'YOUR_PUBLIC_KEY',
  host: 'https://api.reviewskits.com'
}
```

## ⚖️ License

MIT © [ReviewsKits](https://reviewskits.com)
npm package: @reviseflow/react-native
Description: Visual feedback widget for React Native apps - capture screenshots, annotate, and report bugs
Latest version: 0.1.3

# @reviseflow/react-native

Visual feedback widget for React Native apps. Capture screenshots, annotate them, and submit bug reports — all from within your app.

## Installation

```bash
npm install @reviseflow/react-native
```

## Quick Start

Wrap your app with the `<ReviseFlow>` provider:

```tsx
import { ReviseFlow } from '@reviseflow/react-native';

export default function App() {
  return (
    <ReviseFlow token="YOUR_WIDGET_TOKEN">
      <YourApp />
    </ReviseFlow>
  );
}
```

That's it. Users can now shake their device to report feedback.

## Manual Trigger

Use the `useReviseFlow` hook to open the feedback modal programmatically:

```tsx
import { useReviseFlow } from '@reviseflow/react-native';

function SettingsScreen() {
  const { open } = useReviseFlow();

  return <Button onPress={open} title="Report Bug" />;
}
```

## Props

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `token` | `string` | *required* | Your ReviseFlow widget token |
| `apiBaseUrl` | `string` | `https://api.reviseflow.io` | API base URL |
| `trigger` | `"shake" \| "manual"` | `"manual"` | How to trigger feedback |
| `locale` | `string` | auto-detect | UI language (en, tr, ru, es, de, fr, pt) |
| `theme` | `"light" \| "dark" \| "auto"` | `"auto"` | Color theme |
| `screenNameResolver` | `() => string` | — | Returns current screen name |
| `onOpen` | `() => void` | — | Called when feedback modal opens |
| `onClose` | `() => void` | — | Called when feedback modal closes |
| `onSubmit` | `() => void` | — | Called after successful submission |

## How It Works

1. User triggers feedback (shake or button press)
2. Screenshot is captured automatically
3. User can draw annotations on the screenshot
4. User writes a comment and submits
5. Feedback appears in your [ReviseFlow dashboard](https://reviseflow.io)

## Requirements

- React Native >= 0.72
- React >= 18

Works with both Expo and bare React Native projects.

## License

MIT