Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
* @format
*/

import type {ViewProps} from '../../Components/View/ViewPropTypes';
import type {AnimatedComponentType} from '../createAnimatedComponent';

import View from '../../Components/View/View';
import createAnimatedComponent from '../createAnimatedComponent';
import * as React from 'react';

// $FlowFixMe[incompatible-type]
export default createAnimatedComponent(View) as AnimatedComponentType<
ViewProps,
Readonly<React.ElementConfig<typeof View>>,
React.ElementRef<typeof View>,
>;
11 changes: 8 additions & 3 deletions packages/react-native/ReactNativeApi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<b9b585fcbb02d3993acbc3e73d30c3e3>>
* @generated SignedSource<<de62facbc8c8994e0b3c8c58f5bfd8a4>>
*
* This file was generated by scripts/js-api/build-types/index.js.
*/
Expand Down Expand Up @@ -64,7 +64,12 @@ declare const $$AnimatedText: AnimatedComponentType<
React.ComponentRef<typeof Text>
>
declare const $$AnimatedView: AnimatedComponentType<
ViewProps,
Readonly<
React.JSX.LibraryManagedAttributes<
typeof View,
React.ComponentProps<typeof View>
>
>,
React.ComponentRef<typeof View>
>
declare const $$flattenStyle: typeof flattenStyle_default
Expand Down Expand Up @@ -5782,7 +5787,7 @@ export {
AlertOptions, // 8a116d2a
AlertType, // 5ab91217
AndroidKeyboardEvent, // e03becc8
Animated, // 0f1a0259
Animated, // a27bf72d
AppConfig, // 35c0ca70
AppRegistry, // edec2a30
AppState, // 12012be5
Expand Down
Loading