Skip to content

Commit 12bbc2b

Browse files
DevmateXplatFlowFixMeFBFoundation Botfacebook-github-bot
authored andcommitted
xplat/js/RKJSModules/Libraries/FBUI/FBTabs/FBTabs.js
Reviewed By: cortinico Differential Revision: D121832956
1 parent 2fc65e8 commit 12bbc2b

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

‎packages/react-native/Libraries/Animated/components/AnimatedView.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
* @format
99
*/
1010

11-
import type {ViewProps} from '../../Components/View/ViewPropTypes';
1211
import type {AnimatedComponentType} from '../createAnimatedComponent';
1312

1413
import View from '../../Components/View/View';
1514
import createAnimatedComponent from '../createAnimatedComponent';
1615
import * as React from 'react';
1716

18-
// $FlowFixMe[incompatible-type]
1917
export default createAnimatedComponent(View) as AnimatedComponentType<
20-
ViewProps,
18+
Readonly<React.ElementConfig<typeof View>>,
2119
React.ElementRef<typeof View>,
2220
>;

‎packages/react-native/ReactNativeApi.d.ts‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<b9b585fcbb02d3993acbc3e73d30c3e3>>
7+
* @generated SignedSource<<de62facbc8c8994e0b3c8c58f5bfd8a4>>
88
*
99
* This file was generated by scripts/js-api/build-types/index.js.
1010
*/
@@ -64,7 +64,12 @@ declare const $$AnimatedText: AnimatedComponentType<
6464
React.ComponentRef<typeof Text>
6565
>
6666
declare const $$AnimatedView: AnimatedComponentType<
67-
ViewProps,
67+
Readonly<
68+
React.JSX.LibraryManagedAttributes<
69+
typeof View,
70+
React.ComponentProps<typeof View>
71+
>
72+
>,
6873
React.ComponentRef<typeof View>
6974
>
7075
declare const $$flattenStyle: typeof flattenStyle_default
@@ -5782,7 +5787,7 @@ export {
57825787
AlertOptions, // 8a116d2a
57835788
AlertType, // 5ab91217
57845789
AndroidKeyboardEvent, // e03becc8
5785-
Animated, // 0f1a0259
5790+
Animated, // a27bf72d
57865791
AppConfig, // 35c0ca70
57875792
AppRegistry, // edec2a30
57885793
AppState, // 12012be5

0 commit comments

Comments
 (0)