funuicss
Version:
React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting b
19 lines (18 loc) • 575 B
TypeScript
import React from 'react';
interface SimpleVideoProps {
/** HLS (.m3u8) or processed next-video source */
src: string;
autoPlay?: boolean;
muted?: boolean;
loop?: boolean;
controls?: boolean;
style?: React.CSSProperties;
className?: string;
funcss?: string;
/** Optional: cap max resolution (e.g. 1080) */
maxResolution?: 360 | 480 | 720 | 1080 | 1440 | 2160;
/** Optional: custom loading component */
loadingComponent?: React.ReactNode;
}
declare const SimpleVideo: React.FC<SimpleVideoProps>;
export default SimpleVideo;