diff --git a/components/doc/hooks/usemove/verticaldoc.js b/components/doc/hooks/usemove/verticaldoc.js index ff5263ab54..d074e38515 100644 --- a/components/doc/hooks/usemove/verticaldoc.js +++ b/components/doc/hooks/usemove/verticaldoc.js @@ -14,7 +14,7 @@ import React from 'react'; import {useMove } from 'primereact/hooks'; export default function VerticalDemo() { - const { ref, y } = useMove({ initialValue: { y: 0.2 } }); + const { ref, y } = useMove({ initialValue: { y: 0.2 }, mode: 'vertical' }); return (