We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a06eddb + 35da18b commit a9f5862Copy full SHA for a9f5862
targets/native/src/animated.ts
@@ -21,7 +21,7 @@ export type WithAnimated = {
21
/** The type of an `animated()` component */
22
export type AnimatedComponent<T extends ElementType> =
23
ForwardRefExoticComponent<
24
- AnimatedProps<ComponentPropsWithRef<T>> & { children: ReactNode }
+ AnimatedProps<ComponentPropsWithRef<T>> & { children?: ReactNode }
25
>
26
27
/** The props of an `animated()` component */
0 commit comments