UNPKG

@aidenlx/player

Version:

Headless web components that make integrating media on the a web a breeze.

24 lines (17 loc) • 608 B
// [@vidstack/eliza] THIS FILE IS AUTO GENERATED - SEE `eliza.config.ts` import "../../define/vds-mute-button.js"; import * as React from "react"; import { createComponent } from "../lib/index.js"; import { MuteButtonElement } from "../../ui/mute-button/index.js"; const EVENTS = {} as const; /** A button for toggling the muted state of the player. šŸ’” The following media attributes are applied: - `media-muted`: Applied when media audio has been muted. */ const MuteButton = createComponent( React, "vds-mute-button", MuteButtonElement, EVENTS, "MuteButton" ); export default MuteButton;