add pan zoom animation to app, with help text

This commit is contained in:
Amruth Pillai
2020-04-05 14:12:33 +05:30
parent 52c278ebc2
commit dda1747295
4 changed files with 37 additions and 0 deletions

View File

@ -1,3 +1,4 @@
/* eslint-disable jsx-a11y/media-has-caption */
import React, { useRef, useEffect, useContext, Suspense } from 'react';
import { useTranslation } from 'react-i18next';
import { PanZoom } from 'react-easy-panzoom';
@ -11,6 +12,7 @@ import RightSidebar from '../RightSidebar/RightSidebar';
import templates from '../../templates';
import PageController from '../../shared/PageController';
import PrintDialog from '../../shared/PrintDialog';
import PanZoomAnimation from '../../shared/PanZoomAnimation';
const App = () => {
const pageRef = useRef(null);
@ -58,6 +60,7 @@ const App = () => {
<RightSidebar />
<PanZoomAnimation />
<PrintDialog />
</div>
</Suspense>