Skip to content

Commit 565a0cb

Browse files
committed
chore: fix ts define
1 parent 1508a63 commit 565a0cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CSSMotionList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const MOTION_PROP_NAMES = [
3636
];
3737

3838
export interface CSSMotionListProps extends CSSMotionProps {
39-
keys: React.Key[];
40-
component?: string | React.ComponentType;
39+
keys: (React.Key | { key: React.Key; [name: string]: any })[];
40+
component?: string | React.ComponentType | false;
4141
}
4242

4343
export interface CSSMotionListState {

0 commit comments

Comments
 (0)