Skip to content

Commit

Permalink
[docs] Fixed misnamed export typo in Documentation.md (doublesymmetry…
Browse files Browse the repository at this point in the history
…#756)

Under "Events", the export to view all event types was mislabeled as `TrackPlayerEventTypes`

Changed documentation to match correct name of `TrackPlayerEvents`. See: https://github.com/react-native-kit/react-native-track-player/blob/97692c6894c5ffaae9ad5772c4db0e24c420ac0d/lib/index.js#L202-L203
  • Loading branch information
jonnyberanek authored and benjipott committed Dec 3, 2019
1 parent 288c915 commit 0a7e05a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,10 @@ Gets the state of the player.

## Events

All event types are made available through the named export `TrackPlayerEventTypes`:
All event types are made available through the named export `TrackPlayerEvents`:

```js
import { TrackPlayerEventTypes } from 'react-native-track-player';
import { TrackPlayerEvents } from 'react-native-track-player';
```

### Media Controls
Expand Down

0 comments on commit 0a7e05a

Please sign in to comment.