@twilio/player
Advanced tools
Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.2
/// <reference types="react" /> | ||
import * as React from "react"; | ||
import EE from "eventemitter3"; | ||
declare var _default: any; | ||
declare const WaveSurfer: typeof _default; | ||
declare var _default$0: any; | ||
interface Segment { | ||
@@ -30,2 +29,4 @@ id?: string; | ||
}; | ||
declare function defaultTimeFormatter(seconds: number): string; | ||
declare const WaveSurfer: typeof _default$0; | ||
declare class Drawer { | ||
@@ -157,10 +158,11 @@ constructor(container: HTMLElement, params: any); | ||
channels?: Channel[]; | ||
children?: React.ReactNode; | ||
currentSegment?: string; | ||
children?: React.ReactNode; | ||
onReady?: (player: Player) => void; | ||
options?: PlayerOptionProp; | ||
segments?: Segment[]; | ||
splitChannels?: boolean; | ||
style?: React.CSSProperties; | ||
playbackRate?: PlaybackRate; | ||
recordingUrl: string; | ||
splitChannels?: boolean; | ||
segments?: Segment[]; | ||
} | ||
@@ -199,3 +201,3 @@ declare class Player extends React.Component<PlayerProps> { | ||
} | ||
export { Player, Mark }; | ||
export { Player, Mark, defaultTimeFormatter }; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@twilio/player", | ||
"version": "1.0.0-alpha.0", | ||
"version": "1.0.0-alpha.2", | ||
"author": "Twilio", | ||
@@ -5,0 +5,0 @@ "license": "Apache", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
9418
890897
8
1