You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
443 B
19 lines
443 B
import { useTranslation } from "react-i18next"; |
|
|
|
import { Icons } from "@/components/Icon"; |
|
|
|
import { PopoutListAction } from "../../popouts/PopoutUtils"; |
|
|
|
interface Props { |
|
onClick: () => any; |
|
} |
|
|
|
export function CaptionsSelectionAction(props: Props) { |
|
const { t } = useTranslation(); |
|
|
|
return ( |
|
<PopoutListAction icon={Icons.CAPTIONS} onClick={props.onClick}> |
|
{t("videoPlayer.buttons.captions")} |
|
</PopoutListAction> |
|
); |
|
}
|
|
|