@aidenlx/vidstack-react
Version:
UI component library for building high-quality, accessible video and audio experiences on the web.
23 lines (19 loc) • 545 B
JavaScript
"use client"
import * as React from 'react';
const Icon = /* @__PURE__ */ React.forwardRef((props, ref) => {
const { width, height, size = null, paths, ...restProps } = props;
return React.createElement("svg", {
viewBox: "0 0 32 32",
...restProps,
width: width ?? size,
height: height ?? size,
fill: "none",
"aria-hidden": "true",
focusable: "false",
xmlns: "http://www.w3.org/2000/svg",
ref,
dangerouslySetInnerHTML: { __html: paths }
});
});
Icon.displayName = "VidstackIcon";
export { Icon };