├── .babelrc ├── .gitignore ├── .watchmanconfig ├── App.js ├── README.md ├── app.json ├── assets ├── expo-qr.png ├── icon.png ├── screenshots.jpg └── splash.png ├── native-base-theme ├── components │ ├── Badge.js │ ├── Body.js │ ├── Button.js │ ├── Card.js │ ├── CardItem.js │ ├── CheckBox.js │ ├── Container.js │ ├── Content.js │ ├── Fab.js │ ├── Footer.js │ ├── FooterTab.js │ ├── Form.js │ ├── H1.js │ ├── H2.js │ ├── H3.js │ ├── Header.js │ ├── Icon.js │ ├── Input.js │ ├── InputGroup.js │ ├── Item.js │ ├── Label.js │ ├── Left.js │ ├── ListItem.js │ ├── Picker.android.js │ ├── Picker.ios.js │ ├── Radio.js │ ├── Right.js │ ├── Segment.js │ ├── Separator.js │ ├── Spinner.js │ ├── Subtitle.js │ ├── SwipeRow.js │ ├── Switch.js │ ├── Tab.js │ ├── TabBar.js │ ├── TabContainer.js │ ├── TabHeading.js │ ├── Text.js │ ├── Textarea.js │ ├── Thumbnail.js │ ├── Title.js │ ├── Toast.js │ ├── View.js │ └── index.js └── variables │ ├── commonColor.js │ ├── material.js │ └── platform.js ├── package.json ├── src ├── components │ ├── Alphabet.js │ ├── Carousel.js │ ├── Dashboard.js │ ├── Modal.js │ ├── PageTitle.js │ └── StatusBarView.js ├── screens │ ├── DetailScreen.js │ ├── HomeScreen.js │ ├── IntroScreen.js │ └── TestScreen.js └── stores │ └── AppStore.js ├── yarn-error.log └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["babel-preset-expo"], 3 | "env": { 4 | "development": { 5 | "plugins": ["transform-react-jsx-source"] 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/**/* 2 | .expo/* 3 | npm-debug.* 4 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Text, Button, Icon, Footer, FooterTab, StyleProvider } from 'native-base'; 3 | import { TabNavigator, StackNavigator } from "react-navigation"; 4 | 5 | import HomeScreen from './src/screens/HomeScreen'; 6 | import TestScreen from './src/screens/TestScreen'; 7 | import IntroScreen from './src/screens/IntroScreen'; 8 | import DetailScreen from './src/screens/DetailScreen'; 9 | 10 | 11 | import getTheme from './native-base-theme/components'; 12 | import platform from './native-base-theme/variables/platform'; 13 | import AppStore from './src/stores/AppStore.js'; 14 | import {observer} from 'mobx-react'; 15 | 16 | // const HomeStack = StackNavigator({ 17 | // Home: { 18 | // screen: HomeScreen, 19 | // navigationOptions: { 20 | // header: null 21 | // }, 22 | // }, 23 | // Detail: { 24 | // screen: DetailScreen, 25 | // }, 26 | // }); 27 | 28 | const Nav = (MainScreenNavigator = TabNavigator( 29 | { 30 | Home: { screen: HomeScreen }, 31 | Test: { screen: TestScreen }, 32 | Intro: { 33 | screen: IntroScreen, 34 | navigationOptions: { tabBarVisible: false } 35 | }, 36 | Detail: { screen: DetailScreen } 37 | }, 38 | { 39 | tabBarPosition: "bottom", 40 | tabBarComponent: props => { 41 | return ( 42 | 73 | ); 74 | } 75 | } 76 | )); 77 | 78 | 79 | export default class App extends React.Component { 80 | render() { 81 | return ( 82 | 83 |