Skip to content

Commit c0e67b9

Browse files
committed
Fix the <animated.xxx> children type
1 parent faf890e commit c0e67b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring/src/createHost.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ export type WithAnimated = ((Component: any) => any) & {
7575
FluidProps<{
7676
scrollTop?: number
7777
scrollLeft?: number
78-
}>,
78+
}> & {
79+
children?: JSX.Element
80+
},
7981
) => JSX.Element
8082
}
8183
/** The props of an `animated()` component */

0 commit comments

Comments
 (0)