mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Replace ExactReactElement_DEPRECATED in ScrollViewStickyHeader (#48659)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48659 Changelog: [Internal] - Replaced ExactReactElement_DEPRECATED with React.Node as a children type in ScrollViewStickyHeader Reviewed By: fabriziocucci Differential Revision: D68151420 fbshipit-source-id: d4406de67176ae1fea95b8b2ea85f41dc7f5045e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b7eccf23de
commit
8b5e2ea683
+1
-1
@@ -19,7 +19,7 @@ import * as React from 'react';
|
||||
import {useCallback, useEffect, useMemo, useRef, useState} from 'react';
|
||||
|
||||
export type Props = $ReadOnly<{
|
||||
children?: ExactReactElement_DEPRECATED<$FlowFixMe>,
|
||||
children?: React.Node,
|
||||
nextHeaderLayoutY: ?number,
|
||||
onLayout: (event: LayoutEvent) => void,
|
||||
scrollAnimatedValue: Animated.Value,
|
||||
|
||||
@@ -2449,7 +2449,7 @@ exports[`public API should not change unintentionally Libraries/Components/Scrol
|
||||
|
||||
exports[`public API should not change unintentionally Libraries/Components/ScrollView/ScrollViewStickyHeader.js 1`] = `
|
||||
"export type Props = $ReadOnly<{
|
||||
children?: ExactReactElement_DEPRECATED<$FlowFixMe>,
|
||||
children?: React.Node,
|
||||
nextHeaderLayoutY: ?number,
|
||||
onLayout: (event: LayoutEvent) => void,
|
||||
scrollAnimatedValue: Animated.Value,
|
||||
|
||||
Reference in New Issue
Block a user