import { PropsWithChildren } from 'react'; import { ActivityIndicator, StyleProp, View, ViewStyle } from 'react-native'; import { tw, useTheme } from '../core'; import { Text } from './form/Text'; interface LoadingProps { loading?: boolean; dark?: boolean; style?: StyleProp; } export function Loading({ children, loading, dark, style }: PropsWithChildren) { const { primary } = useTheme(); return ( {children} ); }