// components/library/AddContentModal.tsx import React from 'react'; import { View, TouchableOpacity, StyleSheet } from 'react-native'; import Modal from 'react-native-modal'; import { useColorScheme } from '@/hooks/useColorScheme'; import { Feather } from '@expo/vector-icons'; import { spacing } from '@/styles/sharedStyles'; import { ThemedText } from '@/components/ThemedText'; interface AddContentModalProps { isVisible: boolean; onClose: () => void; onSelect: (type: 'exercise' | 'template') => void; } export default function AddContentModal({ isVisible, onClose, onSelect }: AddContentModalProps) { const { colors } = useColorScheme(); return ( Add to Library onSelect('exercise')} > New Exercise Add a custom exercise to your library onSelect('template')} > New Template Create a workout template ); } const styles = StyleSheet.create({ modal: { margin: 0, justifyContent: 'flex-end', }, container: { borderTopLeftRadius: 20, borderTopRightRadius: 20, padding: spacing.medium, }, handle: { width: 36, height: 5, backgroundColor: '#D1D5DB', borderRadius: 3, alignSelf: 'center', marginBottom: spacing.large, }, title: { marginBottom: spacing.large, textAlign: 'center', }, option: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', padding: spacing.medium, borderRadius: 12, marginBottom: spacing.medium, }, optionContent: { flexDirection: 'row', alignItems: 'center', flex: 1, }, iconContainer: { width: 40, height: 40, borderRadius: 20, justifyContent: 'center', alignItems: 'center', marginRight: spacing.medium, }, textContainer: { flex: 1, }, });