react-native-screens
Version:
Native navigation primitives for your React Native app.
18 lines • 660 B
JavaScript
import React from 'react';
/**
* EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
*
* This is an **experimental, unstable** component which might be subject to
* breaking changes and will be removed in the future. It is meant to be used
* only as a temporary workaround until the issue is fixed on `react-native`'s
* side. The issue report: https://github.com/react/react-native/issues/56061.
*
* Falls back to `React.Fragment` on platforms other than iOS.
*/
function ScrollToTopGuard({
children
}) {
return /*#__PURE__*/React.createElement(React.Fragment, null, children);
}
export { ScrollToTopGuard };
//# sourceMappingURL=ScrollToTopGuard.js.map