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:
Dawid Małecki
2025-01-14 07:16:41 -08:00
committed by Facebook GitHub Bot
parent b7eccf23de
commit 8b5e2ea683
2 changed files with 2 additions and 2 deletions
@@ -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,