mirror of
https://github.com/p-stream/p-stream.git
synced 2026-05-06 06:09:15 +00:00
19 lines
455 B
TypeScript
19 lines
455 B
TypeScript
import { useTranslation } from "react-i18next";
|
|
|
|
import { Icons } from "@/components/Icon";
|
|
|
|
import { PopoutListAction } from "../../popouts/PopoutUtils";
|
|
|
|
interface Props {
|
|
onClick: () => any;
|
|
}
|
|
|
|
export function PlaybackSpeedSelectionAction(props: Props) {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<PopoutListAction icon={Icons.TACHOMETER} onClick={props.onClick}>
|
|
{t("videoPlayer.buttons.playbackSpeed")}
|
|
</PopoutListAction>
|
|
);
|
|
}
|