chore: resolve TODO for reusing of TransitionConfig

But also provide the possibility to override the props and also keeps
the namespace to provide breaking changes.
pull/3682/head
Chris Helgert 5 years ago committed by Conduitry
parent 1fce4c6931
commit 0831887ef9

@ -1,14 +1,8 @@
import { cubicOut } from 'svelte/easing';
import { is_function } from 'svelte/internal';
import { TransitionConfig } from 'svelte/transition';
// todo: same as Transition, should it be shared?
export interface AnimationConfig {
delay?: number;
duration?: number;
easing?: (t: number) => number;
css?: (t: number, u: number) => string;
tick?: (t: number, u: number) => void;
}
export interface AnimationConfig extends TransitionConfig {}
interface FlipParams {
delay: number;

Loading…
Cancel
Save