import { observer } from "mobx-react" ; import * as React from "react" ; import { ActivityIndicator , ActivityIndicatorProps } from "react-native" ; export type SpinnerProps = ActivityIndicatorProps ; export const Spinner = observer ( ( props ) => < ActivityIndicator { ... props } / > ) ;