/// import { BoxProps } from '@mantine/core'; import { IconProps } from "../../atoms"; import { VideoItemDataInput, VideoItemType, VideoType } from "../../../interfaces/types/Video"; import { DataTrackingType } from "../../../types"; export type VideoItemHandle = { open: () => void; close: () => void; }; export type VideoItemProps = { data: VideoItemDataInput; layout?: 'overlay' | 'default' | 'horizon'; radius?: React.CSSProperties['borderRadius']; disableDefaultFn?: boolean; redirectToLandingPage?: boolean; onClick?: (e: React.MouseEvent) => void; isMobile?: boolean; playIcon?: React.FC; hideInfo?: boolean; loading?: boolean; useVideoTypeThumbnail?: boolean; forceTypeModal?: VideoType.SHORTS | VideoType.VIDEO; } & BoxProps & DataTrackingType; export type VideoItemTypeProps = Omit & { data: VideoItemType; };