mirror of
https://github.com/hanzo-io/chat.git
synced 2026-10-30 18:57:58 +00:00
10 lines
366 B
TypeScript
10 lines
366 B
TypeScript
import { ActivityIndicator as RNActivityIndicator } from 'react-native';
|
|
import { useColorScheme } from '@hooks/useColorScheme';
|
|
|
|
function ActivityIndicator(props: React.ComponentPropsWithoutRef<typeof RNActivityIndicator>) {
|
|
const { colors } = useColorScheme();
|
|
return <RNActivityIndicator color={colors.primary} {...props} />;
|
|
}
|
|
|
|
export { ActivityIndicator };
|