UNPKG

@tplc/wot

Version:

23 lines (22 loc) 607 B
import type { ComponentPublicInstance, ExtractPropTypes, PropType } from 'vue' export declare const videoPreviewProps: { customStyle: { type: PropType<string> default: string } customClass: { type: PropType<string> default: string } } export type PreviewVideo = { url: string poster?: string title?: string } export type VideoPreviewProps = ExtractPropTypes<typeof videoPreviewProps> export type VideoPreviewExpose = { open: (video: PreviewVideo) => void close: () => void } export type VideoPreviewInstance = ComponentPublicInstance<VideoPreviewExpose, VideoPreviewProps>