Skip to content

Commit

Permalink
Add passthrough prop support to typings
Browse files Browse the repository at this point in the history
Fixes #247
  • Loading branch information
cookpete committed Oct 17, 2017
1 parent 6ddb523 commit 32c0b37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export interface ReactPlayerProps {
onDuration?(duration: number): void;
onSeek?(seconds: number): void;
onProgress?(state: { played: number, playedSeconds: number, loaded: number, loadedSeconds: number }): void;
[otherProps: string]: any;
}

export default class ReactPlayer extends React.Component<ReactPlayerProps, any> {
Expand Down

0 comments on commit 32c0b37

Please sign in to comment.