import React from 'react'; import { TouchableOpacity, View, Text, StyleSheet, useWindowDimensions } from 'react-native'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; import { useTheme } from '../ThemeProvider'; interface CreateDeckButtonProps { onPress: () => void; variant?: 'card' | 'button'; width?: number | 'auto'; } export const CreateDeckButton: React.FC = ({ onPress, variant = 'card', width = 'auto', }) => { const { theme } = useTheme(); if (variant === 'button') { return ( Create your first deck ); } return ( Create New Deck ); }; const styles = StyleSheet.create({ deckContainer: { marginVertical: 8, marginHorizontal: 8, borderRadius: 12, overflow: 'hidden', }, deckContent: { flex: 1, }, imageContainer: { aspectRatio: 16 / 9, borderRadius: 12, overflow: 'hidden', }, placeholderContainer: { flex: 1, justifyContent: 'center', alignItems: 'center', }, textContainer: { padding: 12, }, title: { fontSize: 16, fontWeight: '600', }, createButton: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center', padding: 16, borderRadius: 12, marginTop: 16, }, createButtonText: { marginLeft: 8, fontSize: 16, fontWeight: '600', }, });