mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 12:01:10 +02:00
Move inactive projects out of active workspace: - bauntown (community website) - maerchenzauber (AI story generation) - memoro (voice memo app) - news (news aggregation) - nutriphi (nutrition tracking) - reader (reading app) - uload (URL shortener) - wisekeep (AI wisdom extraction) Update CLAUDE.md documentation: - Add presi to active projects - Document archived projects section - Update workspace configuration Archived apps can be re-activated by moving back to apps/ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
772 B
TypeScript
32 lines
772 B
TypeScript
import React from 'react';
|
|
import { ActivityIndicator, View, Text } from 'react-native';
|
|
|
|
interface LoadingSpinnerProps {
|
|
size?: 'small' | 'large';
|
|
color?: string;
|
|
text?: string;
|
|
overlay?: boolean;
|
|
}
|
|
|
|
export const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({
|
|
size = 'large',
|
|
color = '#6366f1',
|
|
text,
|
|
overlay = false,
|
|
}) => {
|
|
const Container = overlay ? View : React.Fragment;
|
|
const containerProps = overlay
|
|
? {
|
|
className: 'absolute inset-0 bg-black/20 flex-1 justify-center items-center z-50',
|
|
}
|
|
: {};
|
|
|
|
return (
|
|
<Container {...containerProps}>
|
|
<View className="items-center space-y-2">
|
|
<ActivityIndicator size={size} color={color} />
|
|
{text && <Text className="text-sm text-gray-600">{text}</Text>}
|
|
</View>
|
|
</Container>
|
|
);
|
|
};
|