@senka-ai/ui
Version:
A modern, type-safe Svelte 5 UI component library with full theme support, accessibility standards, and robust state management patterns
25 lines • 814 B
TypeScript
import type { BaseProps } from '../../type/component';
interface Props extends BaseProps {
src: string;
poster?: string;
width?: number | string;
height?: number | string;
aspectRatio?: 'square' | '16:9' | '4:3' | '3:2' | 'auto';
controls?: boolean;
autoplay?: boolean;
muted?: boolean;
loop?: boolean;
preload?: 'none' | 'metadata' | 'auto';
placeholder?: string;
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full';
onPlay?: () => void;
onPause?: () => void;
onEnded?: () => void;
onLoadStart?: () => void;
onCanPlay?: () => void;
onError?: () => void;
}
declare const Video: import("svelte").Component<Props, {}, "">;
type Video = ReturnType<typeof Video>;
export default Video;
//# sourceMappingURL=Video.svelte.d.ts.map