double revealer: allow custom prop

This commit is contained in:
end-4 2024-02-22 13:19:39 +07:00
parent edaed6c883
commit 186e4797a1

View file

@ -63,6 +63,7 @@ export const DoubleRevealer = ({
duration2 = 150,
child,
revealChild,
...rest
}) => {
return Revealer({
transition: transition1,
@ -73,6 +74,7 @@ export const DoubleRevealer = ({
transitionDuration: duration2,
revealChild: revealChild,
child: child,
})
}),
...rest,
})
}