You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
I am using a Card component from React Native Elements. In order to style the component, it requires one to use containerStyle. That does not work with react-native-theming. Everything that uses "style" works fine
I am using a Card component from React Native Elements. In order to style the component, it requires one to use containerStyle. That does not work with react-native-theming. Everything that uses "style" works fine
<ThemedCard containerStyle={styles.cardContainer} image={require('../../assets/images/notecards.jpg')} imageStyle={{overflow: 'hidden', borderTopRightRadius: 15, borderTopLeftRadius: 15}} borderRadius={15}> <Theme.Text style={styles.titleText}>{text}</Theme.Text> <ThemedAppText text="Last Edited: 5 Days Ago" style={styles.lastEdited} /> <ThemedAppText text="Last Viewed: Today" style={styles.lastViewed}/> </ThemedCard>
cardContainer: { backgroundColor: '@mainColor', borderRadius: 15, height: 200, width: 150, margin: 20, flex: 1, flexDirection: 'row', justifyContent: 'center', elevation: 2, shadowColor: 'rgba(0, 0, 0, 1)', shadowOpacity: 1, shadowRadius: 1, borderColor: '@mainColor' },
export const ThemedCard = createThemedComponent(Card);
The text was updated successfully, but these errors were encountered: