import React from 'react' ; import { ActivityIndicator , ActivityIndicatorProperties } from 'react-native' ; export type LoadingProps = Pick < ActivityIndicatorProperties , 'style' > ; const LoadingInner = ( props ) => { return < ActivityIndicator style = { props . style } />; } ; export const Loading = React . memo ( LoadingInner ) ;