mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Switch AdsManagerRefreshableScrollView to use ElementConfig instead of ElementProps
Summary: Changelog: [Changed] Removed rest operator from ScrollViewStickyHeader props Reviewed By: lunaleaps Differential Revision: D27100507 fbshipit-source-id: 7d90ebeaf757bcaed0b125a4a8abf44f07adf98f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f293d41ead
commit
d40f2a29c6
@@ -22,7 +22,7 @@ import type {LayoutEvent} from '../../Types/CoreEventTypes';
|
||||
|
||||
const AnimatedView = AnimatedImplementation.createAnimatedComponent(View);
|
||||
|
||||
export type Props = {
|
||||
export type Props = $ReadOnly<{
|
||||
children?: React.Element<any>,
|
||||
nextHeaderLayoutY: ?number,
|
||||
onLayout: (event: LayoutEvent) => void,
|
||||
@@ -34,8 +34,7 @@ export type Props = {
|
||||
scrollViewHeight: ?number,
|
||||
nativeID?: ?string,
|
||||
hiddenOnScroll?: ?boolean,
|
||||
...
|
||||
};
|
||||
}>;
|
||||
|
||||
type State = {
|
||||
measured: boolean,
|
||||
|
||||
Reference in New Issue
Block a user