Skip to content

Commit

Permalink
Merge pull request #334 from chintan9/add-typings
Browse files Browse the repository at this point in the history
add typings
  • Loading branch information
chintan9 authored Sep 28, 2020
2 parents 7a0ef71 + 4ef3963 commit a5eda80
Showing 1 changed file with 51 additions and 5 deletions.
56 changes: 51 additions & 5 deletions src/plyr-react.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
import Plyr from './Plyr'

declare module 'plyr-react' {
export default Plyr
}
/** Declaration file generated by dts-gen */

export const $$typeof: any;

export const defaultProps: {
options: {
controls: string[];
i18n: {
buffered: string;
captions: string;
currentTime: string;
disableCaptions: string;
download: string;
duration: string;
enableCaptions: string;
enterFullscreen: string;
exitFullscreen: string;
fastForward: string;
frameTitle: string;
loop: string;
menuBack: string;
mute: string;
normal: string;
pause: string;
play: string;
played: string;
quality: string;
restart: string;
rewind: string;
seek: string;
seekLabel: string;
settings: string;
speed: string;
unmute: string;
volume: string;
};
};
source: {
sources: {
size: number;
src: string;
type: string;
}[];
type: string;
};
};

export function compare(prev: any, next: any): any;

export function type(props: any): any;

0 comments on commit a5eda80

Please sign in to comment.