Initial commit.
This commit is contained in:
commit
1f90ca2575
63 changed files with 4059 additions and 0 deletions
24
controllers/BookmarksViewController.js
Normal file
24
controllers/BookmarksViewController.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/**
|
||||
* BookmarksViewController
|
||||
*
|
||||
* Yeah, I do it iOS style. Handles bookmarked tournaments.
|
||||
*
|
||||
* @copyright Ryan McGrath 2018.
|
||||
*/
|
||||
|
||||
import moment from 'moment';
|
||||
import React from 'react';
|
||||
import {FlatList, Image, Text, View, TouchableOpacity} from 'react-native';
|
||||
|
||||
import MemeleeViewController from './MemeleeViewController';
|
||||
|
||||
export default class BookmarksViewController extends MemeleeViewController {
|
||||
state = {data: []};
|
||||
keyExtractor = (item, index) => item.id;
|
||||
|
||||
render() {
|
||||
return <FlatList data={this.state.data} keyExtractor={this.keyExtractor} renderItem={({item}) => {
|
||||
return <View />;
|
||||
}} />
|
||||
}
|
||||
}
|
||||
Reference in a new issue