import React from 'react';
import { View, Text, Image } from 'react-native';
import Swiper from 'react-native-deck-swiper';
const renderCard = (card) => {
return (
{card.text}
)
}
const LessonItem = ({cards}) => {
const {defaultStyle} = styles;
return (
);
};
const styles = {
defaultStyle: {
flexDirection: 'column',
justifyContent: 'center',
backgroundColor: '#7270a8',
flex: 1
},
card: {
flex: 1,
borderRadius: 10,
borderWidth: 2,
borderColor: '#E8E8E8',
justifyContent: 'center',
backgroundColor: 'white',
alignItems: 'center'
},
text: {
margin: 20,
color: 'black',
textAlign: 'justify',
fontSize: 14,
lineHeight: 18
},
};
export default LessonItem;