@helpwave/hightide
Version:
helpwave's component and theming library
12 lines (10 loc) • 390 B
TypeScript
type EaseFunction = (t: number) => number;
declare class EaseFunctions {
static cubicBezierGeneric(x1: number, y1: number, x2: number, y2: number): {
x: EaseFunction;
y: EaseFunction;
};
static cubicBezier(x1: number, y1: number, x2: number, y2: number): EaseFunction;
static easeInEaseOut(t: number): number;
}
export { type EaseFunction, EaseFunctions };