mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-22 16:57:50 +00:00
27 lines
595 B
JavaScript
27 lines
595 B
JavaScript
|
|
/* @flow */
|
||
|
|
|
||
|
|
import AbstractAudio from '../AbstractAudio';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* The React/Web {@link Component} which is similar to and wraps around
|
||
|
|
* {@code HTMLAudioElement} in order to facilitate cross-platform source code.
|
||
|
|
*/
|
||
|
|
export default class Audio extends AbstractAudio {
|
||
|
|
/**
|
||
|
|
* {@code Audio} component's property types.
|
||
|
|
*
|
||
|
|
* @static
|
||
|
|
*/
|
||
|
|
static propTypes = AbstractAudio.propTypes;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Implements React's {@link Component#render()}.
|
||
|
|
*
|
||
|
|
* @inheritdoc
|
||
|
|
* @returns {ReactElement}
|
||
|
|
*/
|
||
|
|
render() {
|
||
|
|
return super._render('audio');
|
||
|
|
}
|
||
|
|
}
|