|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
|
import React from 'react' |
|
|
|
|
import type { MouseEvent } from 'react' |
|
|
|
|
|
|
|
|
|
import { CloseButton } from 'features/Common' |
|
|
|
|
|
|
|
|
|
@ -15,12 +16,16 @@ type CardLiveHoverProps = { |
|
|
|
|
onClose: () => void, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const stopProp = (e: MouseEvent<HTMLDivElement>) => { |
|
|
|
|
e.stopPropagation() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const CardLiveHover = ({ onClose }: CardLiveHoverProps) => ( |
|
|
|
|
<CardHoverWrapper> |
|
|
|
|
<CardHoverWrapper onClick={onClose}> |
|
|
|
|
<CardHoverInner> |
|
|
|
|
<CloseButton onClick={onClose} /> |
|
|
|
|
<CardHoverTitle t='match_video' /> |
|
|
|
|
<Rows> |
|
|
|
|
<Rows onClick={stopProp}> |
|
|
|
|
<Row> |
|
|
|
|
<MoreVideo t='watch_now' /> |
|
|
|
|
<MoreVideo t='watch_from_beginning' /> |
|
|
|
|
|