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:
Kacie Bawiec
2021-03-18 08:03:38 -07:00
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,