Explorar o código

add reveal option

Yuki Takei %!s(int64=3) %!d(string=hai) anos
pai
achega
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]);