1 | import * as React from 'react';
|
2 | import type { CSSMotionProps } from './CSSMotion';
|
3 | import type { KeyObject } from './util/diff';
|
4 | export interface CSSMotionListProps extends Omit<CSSMotionProps, 'onVisibleChanged'>, Omit<React.HTMLAttributes<any>, 'children'> {
|
5 | keys: (React.Key | {
|
6 | key: React.Key;
|
7 | [name: string]: any;
|
8 | })[];
|
9 | component?: string | React.ComponentType | false;
|
10 |
|
11 | onVisibleChanged?: (visible: boolean, info: {
|
12 | key: React.Key;
|
13 | }) => void;
|
14 | }
|
15 | export interface CSSMotionListState {
|
16 | keyEntities: KeyObject[];
|
17 | }
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare function genCSSMotionList(transitionSupport: boolean, CSSMotion?: React.ForwardRefExoticComponent<CSSMotionProps & {
|
24 | ref?: React.Ref<any>;
|
25 | }>): React.ComponentClass<CSSMotionListProps>;
|
26 | declare const _default: React.ComponentClass<CSSMotionListProps, any>;
|
27 | export default _default;
|