rc-tween-one
Version:
tween-one anim component for react
8 lines (7 loc) • 512 B
TypeScript
import type { ReactElement } from 'react';
import type { IObject } from '../type';
export declare function toArrayChildren(children: any): any[];
export declare function findChildInChildrenByKey(children: ReactElement[], key: string | number | null): any;
export declare function mergeChildren(prev: ReactElement[], next: ReactElement[]): any[];
export declare function transformArguments(arg: any, key: string | number | null, i: number): any;
export declare function getChildrenFromProps(props: IObject): any;