diff --git a/app/components/builds/BuildItemEnd.js b/app/components/builds/BuildItemEnd.js new file mode 100644 index 0000000..da590e7 --- /dev/null +++ b/app/components/builds/BuildItemEnd.js @@ -0,0 +1,34 @@ +import React from 'react-native'; +import GlobalStyles from '../../settings/styles'; + +const { + View, + Text, + StyleSheet +} = React; + +const styles = StyleSheet.create({ + container: { + flex: 1, + height: 45, + alignItems: 'center', + justifyContent: 'center', + backgroundColor: GlobalStyles.get('CIRCLE_ITEM_BG'), + borderBottomColor: GlobalStyles.get('CIRCLE_ITEM_BORDER'), + borderBottomWidth: 2, + flexDirection: 'row', + }, + text: { + fontSize: 18, + } +}); + +export default class BuildItem extends React.Component { + render() { + return ( + + That's all! + + ); + } +}; diff --git a/app/components/builds/BuildList.js b/app/components/builds/BuildList.js index 3086f30..a8f9b3e 100644 --- a/app/components/builds/BuildList.js +++ b/app/components/builds/BuildList.js @@ -3,6 +3,7 @@ import GiftedListView from 'react-native-gifted-listview'; import GlobalStyles from '../../settings/styles'; import loaderHandler from 'react-native-busy-indicator/LoaderHandler'; import BuildItem from './BuildItem'; +import BuildItemEnd from './BuildItemEnd'; import { getProjectRecentBuilds } from '../../api/CircleCI'; import _ from 'underscore'; @@ -59,7 +60,7 @@ export default class BuildList extends React.Component { rowView={this.renderRow} refreshable={true} onFetch={this._fetch} - paginationAllLoadedView={() => null}/> + paginationAllLoadedView={() => }/> ); }