UNPKG

@react-motion-router/core

Version:

Declarative routing library for ReactJS ⚛ with animations baked in ⏮

78 lines (77 loc) 1.68 kB
declare const Presets: { "slide-right-in": { transform: string; }[]; "slide-back-right-in": { transform: string; }[]; "slide-right-out": { transform: string; }[]; "slide-back-right-out": { transform: string; }[]; "slide-left-in": { transform: string; }[]; "slide-back-left-in": { transform: string; }[]; "slide-left-out": { transform: string; }[]; "slide-back-left-out": { transform: string; }[]; "slide-up-in": { transform: string; }[]; "slide-back-up-in": { transform: string; }[]; "slide-up-out": { transform: string; }[]; "slide-back-up-out": { transform: string; }[]; "slide-down-in": { transform: string; }[]; "slide-back-down-in": { transform: string; }[]; "slide-down-out": { transform: string; }[]; "slide-back-down-out": { transform: string; }[]; "zoom-in-in": { transform: string; opacity: number; }[]; "zoom-in-out": { transform: string; opacity: number; }[]; "zoom-out-in": { transform: string; opacity: number; }[]; "zoom-out-out": { transform: string; opacity: number; }[]; "fade-in": { opacity: number; }[]; "fade-out": { opacity: number; }[]; none: never[]; }; declare const AnimationKeyframePresets: { [Property in keyof typeof Presets]: Keyframe[]; }; export default AnimationKeyframePresets;