feat(packages): add mux-audio element and react component (#1259)

This commit is contained in:
Wesley Luyten
2026-04-07 14:59:22 -05:00
committed by GitHub
parent cf357ad9a7
commit 9fac0fca3d
16 changed files with 192 additions and 13 deletions
@@ -0,0 +1,14 @@
import { MuxAudio } from '../../media/mux-audio';
import { safeDefine } from '../safe-define';
export class MuxAudioElement extends MuxAudio {
static readonly tagName = 'mux-audio';
}
safeDefine(MuxAudioElement);
declare global {
interface HTMLElementTagNameMap {
[MuxAudioElement.tagName]: MuxAudioElement;
}
}