Przeglądaj źródła

add reveal option

Yuki Takei 3 lat temu
rodzic
commit
f0b3d2a9dd

+ 4 - 1
packages/presentation/src/components/PresentationWithReveal.tsx

@@ -17,7 +17,10 @@ export const Presentation = (props: Props): JSX.Element => {
 
   useEffect(() => {
     if (children != null) {
-      Reveal.initialize();
+      Reveal.initialize({
+        hash: true,
+        pageNumber: true,
+      });
     }
   }, [children]);