import { Divider, Tooltip } from "@douyinfe/semi-ui"; import { useTransform, useLayout } from "../hooks"; import { exitFullscreen } from "../utils/fullscreen"; import { useTranslation } from "react-i18next"; export default function FloatingControls() { const { transform, setTransform } = useTransform(); const { setLayout } = useLayout(); const { t } = useTranslation(); return (
{parseInt(transform.zoom * 100)}%
); }