UNPKG

matrix-react-sdk

Version:
22 lines (21 loc) 543 B
import React from "react"; import { Playback, PlaybackState } from "../../../audio/Playback"; interface IProps { playback: Playback; defaultDisplaySeconds?: number; } interface IState { seconds: number; durationSeconds: number; playbackPhase: PlaybackState; } /** * A clock for a playback of a recording. */ export default class PlaybackClock extends React.PureComponent<IProps, IState> { constructor(props: IProps); private onPlaybackUpdate; private onTimeUpdate; render(): React.ReactNode; } export {};