1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00

minor changes to options

This commit is contained in:
Keviin Åberg Kultalahti 2021-03-01 13:24:57 +01:00
parent 856e80fce2
commit e4a2904735

View file

@ -5,7 +5,7 @@ const transitions = new Map([
["fade", { tn: fade, opt: {} }],
["blur", { tn: blur, opt: {} }],
["slide", { tn: slide, opt: {} }],
["fly", { tn: fly, opt: { y: 30 } }],
["fly", { tn: fly, opt: { y: 80 } }],
])
export default function transition(node, {type, options = {}}) {