managarten/memoro/apps/mobile/components/skeletons/sections/QuestionButtonSkeleton.tsx
Till-JS e7f5f942f3 chore: initial commit - consolidate 4 projects into monorepo
Projects included:
- maerchenzauber (NestJS backend + Expo mobile + SvelteKit web + Astro landing)
- manacore (Expo mobile + SvelteKit web + Astro landing)
- manadeck (NestJS backend + Expo mobile + SvelteKit web)
- memoro (Expo mobile + SvelteKit web + Astro landing)

This commit preserves the current state before monorepo restructuring.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 23:38:24 +01:00

26 lines
No EOL
874 B
TypeScript

import React from 'react';
import { View, StyleSheet } from 'react-native';
import { useTheme } from '~/features/theme/ThemeProvider';
import { getSkeletonColor, skeletonBase, skeletonBox } from '../utils/skeletonStyles';
import { SkeletonAnimation } from '../utils/SkeletonAnimation';
export const QuestionButtonSkeleton: React.FC = () => {
const { colors, isDark } = useTheme();
const skeletonColor = getSkeletonColor(isDark, colors);
return (
<SkeletonAnimation style={styles.container}>
<View style={[skeletonBase, skeletonBox('100%', 48), styles.button, { backgroundColor: skeletonColor }]} />
</SkeletonAnimation>
);
};
const styles = StyleSheet.create({
container: {
paddingHorizontal: 20, // Same as questionButtonContainer
marginBottom: 12, // Same as questionButtonContainer
},
button: {
borderRadius: 24,
},
});