This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { observable, action } from 'mobx' | |
| class TaskListStore { | |
| @observable list = [ | |
| { title: 'Go to the office', isFinished: true }, | |
| { title: 'Prepare tasks for today', isFinished: false }, | |
| { title: 'Team meeting', isFinished: false }, | |
| { title: 'Commit tasks changed', isFinished: false } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import { | |
| StyleSheet, | |
| Text, | |
| TouchableOpacity, | |
| FlatList, | |
| View | |
| } from 'react-native' | |
| export default class TaskListScreen extends Component { |
NewerOlder