reablocks
Version:
Component library for React
25 lines (23 loc) • 578 B
TypeScript
import { HTMLMotionProps } from 'motion/react';
import { FC, ReactNode } from 'react';
export declare const groupVariants: {
initial: {
transition: {
staggerChildren: number;
staggerDirection: any;
};
};
animate: {
transition: {
staggerChildren: number;
delayChildren: number;
};
};
};
export interface MotionGroupProps extends HTMLMotionProps<'div'> {
/**
* The content of group.
*/
children: ReactNode;
}
export declare const MotionGroup: FC<MotionGroupProps>;