frontend client for gemstone. decentralised workplace app
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: loading spinner size small

serenity 3984e2a3 95383e6a

+11 -2
+11 -2
src/components/primitives/Loading.tsx
··· 2 2 import { useCurrentPalette } from "@/providers/ThemeProvider"; 3 3 import { ActivityIndicator, View } from "react-native"; 4 4 5 - export const Loading = ({ color }: { color?: HexCode }) => { 5 + export const Loading = ({ 6 + color, 7 + size, 8 + }: { 9 + color?: HexCode; 10 + size?: number | "large" | "small"; 11 + }) => { 6 12 const { semantic } = useCurrentPalette(); 7 13 return ( 8 14 <View> 9 - <ActivityIndicator size="large" color={color ?? semantic.primary} /> 15 + <ActivityIndicator 16 + size={size ?? "large"} 17 + color={color ?? semantic.primary} 18 + /> 10 19 </View> 11 20 ); 12 21 };