UNPKG

@madeja-studio/telar

Version:

UI component library by Madeja Studio

20 lines (19 loc) 336 B
"use strict"; import { to as rsto } from '@react-spring/native'; export const push = ({ from = 0, to = 1 } = {}) => ({ from: { translationY: from }, style: values => ({ transform: [{ translateY: rsto(values.translationY, t => t) }] }), to: { translationY: to } }); //# sourceMappingURL=push.js.map