UNPKG

@wulperstudio/cms

Version:
28 lines (27 loc) 1.07 kB
import React from 'react'; import { IconifyIcon } from '@iconify/react'; import { ReactPlayerProps } from 'react-player'; import { BoxProps, IconButtonProps } from '@mui/material'; import { AspectRatioType, ContainerVideoModel } from './styled'; interface VariantVideoPropsModel { containerVideoProps?: ContainerVideoModel; iconPlayProps?: IconButtonProps; customVideoProps?: React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>; } export interface BlockVideoCustomModel extends ReactPlayerProps { srcVideo: string; backgroundImage?: string; iconName?: string | IconifyIcon; containerProps?: BoxProps; contentProps?: BoxProps; variant?: 'default' | 'video' | 'videoPlayer' | 'videoPreview'; variantAspectRatio?: AspectRatioType; maxHeightVideo?: string | number; variantVideoProps?: VariantVideoPropsModel; videoPreviewProps?: { src: string; type: string; }; } export declare const BlockVideoCustom: React.FC<React.PropsWithChildren<BlockVideoCustomModel>>; export {};