open-index/open-npm huggingface dataset:
npm package: @june24/expo-pdf-reader
Description: A PDF reader for Expo apps with annotation and zoom controls
Author: User
Latest version: 0.1.25

# expo-pdf-reader

A PDF reader for Expo.

## Installation

```bash
npm install expo-pdf-reader
```

## Usage

```tsx
import { StyleSheet, View } from 'react-native';
import { ExpoPdfReaderView } from 'expo-pdf-reader';

export default function App() {
  return (
    <View style={styles.container}>
      <ExpoPdfReaderView
        style={styles.pdf}
        url="https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
      />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#fff',
    alignItems: 'center',
    justifyContent: 'center',
  },
  pdf: {
    flex: 1,
    width: '100%',
  },
});
```

## Configuration

### Android

No additional configuration required.

### iOS

No additional configuration required.