Skip to content

Commit 1a6a627

Browse files
jonnyberanekGuichaguri
authored andcommitted
[docs] Fixed misnamed export typo in Documentation.md (doublesymmetry#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
1 parent 97692c6 commit 1a6a627

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Documentation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,10 @@ Gets the state of the player.
321321

322322
## Events
323323

324-
All event types are made available through the named export `TrackPlayerEventTypes`:
324+
All event types are made available through the named export `TrackPlayerEvents`:
325325

326326
```js
327-
import { TrackPlayerEventTypes } from 'react-native-track-player';
327+
import { TrackPlayerEvents } from 'react-native-track-player';
328328
```
329329

330330
### Media Controls

0 commit comments

Comments
 (0)