Skip to content

Commit e6d09d5

Browse files
committed
chore: Compitable for old ts define
1 parent dca7056 commit e6d09d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CSSMotion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export interface CSSMotionProps {
8484

8585
children?: (
8686
props: {
87-
visible: boolean;
87+
visible?: boolean;
8888
className?: string;
8989
style?: React.CSSProperties;
9090
[key: string]: any;

0 commit comments

Comments
 (0)