UNPKG

@hhgtech/hhg-components

Version:
14 lines (13 loc) 610 B
/// <reference types="react" /> import { BoxProps } from '@mantine/core'; import { VideoItemType } from "../../../interfaces/types/Video"; import { DataTrackingType } from "../../../types"; export type VideoItemProps = { data: VideoItemType; layout?: 'overlay' | 'default' | 'horizon'; disableDefaultFn?: boolean; redirectToLandingPage?: boolean; onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void; isMobile?: boolean; } & BoxProps & DataTrackingType; export type VideoItemTypeProps = Omit<VideoItemProps, 'disableDefaultFn' | 'redirectToLandingPage' | 'onClick'>;