|
4 | 4 | * This source code is licensed under the MIT license found in the |
5 | 5 | * LICENSE file in the root directory of this source tree. |
6 | 6 | * |
7 | | - * @generated SignedSource<<3ce9599aceb36dd1f09ded3db3332daa>> |
| 7 | + * @generated SignedSource<<83faf91fab56f9b954a3bb7cfdef59e1>> |
8 | 8 | * |
9 | 9 | * This file was generated by scripts/js-api/build-types/index.js. |
10 | 10 | */ |
|
24 | 24 | import * as React from "react" |
25 | 25 | declare const $$AnimatedFlatList: typeof AnimatedFlatList_default |
26 | 26 | declare const $$AnimatedImage: AnimatedComponentType< |
27 | | - React.JSX.LibraryManagedAttributes< |
28 | | - typeof Image, |
29 | | - React.ComponentProps<typeof Image> |
30 | | - >, |
| 27 | + ImageProps, |
31 | 28 | React.ComponentRef<typeof Image> |
32 | 29 | > |
33 | 30 | declare const $$AnimatedImplementation: { |
@@ -1748,6 +1745,8 @@ declare type ColorListenerCallback = (value: ColorValue) => unknown |
1748 | 1745 | declare type ColorSchemeName = "dark" | "light" |
1749 | 1746 | declare type ColorSchemeOverride = "auto" | "dark" | "light" | "unspecified" |
1750 | 1747 | declare type ColorValue = ____ColorValue_Internal |
| 1748 | +declare type ComponentProps<T> = |
| 1749 | + T extends React.ComponentType<infer Props> ? Props : never |
1751 | 1750 | declare type ComponentProvider = () => React.ComponentType<any> |
1752 | 1751 | declare type ComponentProviderInstrumentationHook = ( |
1753 | 1752 | component_: ComponentProvider, |
@@ -1799,12 +1798,7 @@ declare function createAnimatedComponent_default< |
1799 | 1798 | >( |
1800 | 1799 | Component: TInstance, |
1801 | 1800 | ): AnimatedComponentType< |
1802 | | - Readonly< |
1803 | | - React.JSX.LibraryManagedAttributes< |
1804 | | - TInstance, |
1805 | | - React.ComponentProps<TInstance> |
1806 | | - > |
1807 | | - >, |
| 1801 | + Readonly<ComponentProps<TInstance>>, |
1808 | 1802 | React.ComponentRef<TInstance> |
1809 | 1803 | > |
1810 | 1804 | declare function createLayoutAnimation( |
@@ -5771,7 +5765,7 @@ export { |
5771 | 5765 | AlertOptions, // 8a116d2a |
5772 | 5766 | AlertType, // 5ab91217 |
5773 | 5767 | AndroidKeyboardEvent, // e03becc8 |
5774 | | - Animated, // 990adcb6 |
| 5768 | + Animated, // ed4648e6 |
5775 | 5769 | AppConfig, // 35c0ca70 |
5776 | 5770 | AppRegistry, // edec2a30 |
5777 | 5771 | AppState, // 12012be5 |
|
0 commit comments