forked from mirrors/thatmattlove-hyperglass
8 lines
273 B
TypeScript
8 lines
273 B
TypeScript
import type { MotionProps } from 'framer-motion';
|
|
|
|
type Dict<T = string> = Record<string, T>;
|
|
|
|
type ReactRef<T = HTMLElement> = MutableRefObject<T>;
|
|
|
|
type Animated<T> = Omit<T, keyof MotionProps> &
|
|
Omit<MotionProps, keyof T> & { transition?: MotionProps['transition'] };
|