forked from Shinonome/dots-hyprland
double revealer: allow custom prop
This commit is contained in:
@@ -63,6 +63,7 @@ export const DoubleRevealer = ({
|
|||||||
duration2 = 150,
|
duration2 = 150,
|
||||||
child,
|
child,
|
||||||
revealChild,
|
revealChild,
|
||||||
|
...rest
|
||||||
}) => {
|
}) => {
|
||||||
return Revealer({
|
return Revealer({
|
||||||
transition: transition1,
|
transition: transition1,
|
||||||
@@ -73,6 +74,7 @@ export const DoubleRevealer = ({
|
|||||||
transitionDuration: duration2,
|
transitionDuration: duration2,
|
||||||
revealChild: revealChild,
|
revealChild: revealChild,
|
||||||
child: child,
|
child: child,
|
||||||
})
|
}),
|
||||||
|
...rest,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user