import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import Ionicons from 'react-native-vector-icons/Ionicons'; function TodoItem({ item, onDeleteHandle }) { return ( {item.date} {item.message} {item.money} {item.remained_money} ) } const styles = StyleSheet.create({ item: { padding: 16, marginTop: 16, borderColor: '#bbb', borderWidth: 1, borderStyle: 'd', borderStyle: 'dashed', borderRadius: 10, flexDirection: 'row' }, itemText: { fontFamily: 'GowunDodum-Regular', marginLeft: 10, } }) export default TodoItem;