mirror of
https://github.com/sussy-code/smov.git
synced 2026-04-29 20:13:04 +00:00
This commit updates the import statements in the codebase to comply with ESLint rules for import ordering. All imports have been sorted alphabetically and grouped according to the specified import groups in the ESLint configuration. This improves the codebase's consistency and maintainability.
19 lines
443 B
TypeScript
19 lines
443 B
TypeScript
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>
|
|
);
|
|
}
|