This file contains 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 from 'react'; | |
import { Image, View, Text, TextInput, LayoutAnimation } from 'react-native'; | |
import KeyboardEventListener from '../util/KeyboardEventListener'; | |
export default class AuthenticationScreen extends React.Component { | |
state = { | |
keyboardHeight: 0, | |
} | |
componentDidMount() { |
This file contains 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, View, Text, PanResponder } from "react-native"; | |
export default class Swipeable extends Component { | |
state = { | |
dragging: false, | |
offsetTop: 0, | |
offsetLeft: 0 | |
}; |
This file contains 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 from "react"; | |
import { Constants } from "expo"; | |
import { | |
TextInput, | |
ScrollView, | |
View, | |
Text, | |
StyleSheet, | |
StatusBar, | |
Button, |
This file contains 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 from 'react'; | |
import { Constants } from 'expo'; | |
import { | |
TextInput, | |
ScrollView, | |
View, | |
Text, | |
StyleSheet, | |
StatusBar, | |
} from 'react-native'; |
This file contains 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 from "react"; | |
import { SectionList, StyleSheet, Text, View, Image } from "react-native"; | |
import ToggleButton from "../components/ToggleButton"; | |
const thursdaySections = [ | |
{ | |
key: "8:30 AM", | |
data: [{ key: 0, title: "Registration, breakfast" }] | |
}, | |
{ |
This file contains 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 from "react"; | |
import { SectionList, StyleSheet, Text, View, Image } from "react-native"; | |
import ToggleButton from "../components/ToggleButton"; | |
const thursdaySections = [ | |
{ | |
key: "8:30 AM", | |
data: [{ key: 0, title: "Registration, breakfast" }] | |
}, | |
{ |
This file contains 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
const thursdaySections = [ | |
{ | |
id: "8:30 AM", | |
data: [{ id: 0, title: "Registration, breakfast" }] | |
}, | |
{ | |
id: "10:00 AM", | |
data: [{ id: 0, title: "Conference Keynote", speaker: "Lucy Vatne" }] | |
} | |
]; |
This file contains 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 from "react"; | |
import { StyleSheet, Text, View, Image, TouchableOpacity } from "react-native"; | |
export default class ToggleButton extends React.Component { | |
renderItem = (item, index, list) => { | |
const { onPressItem, value } = this.props; | |
return ( | |
<TouchableOpacity | |
onPress={onPressItem.bind(this, item)} |
This file contains 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 from "react"; | |
import { StyleSheet, Text, View, Image } from "react-native"; | |
import ToggleButton from "../components/ToggleButton"; | |
export default class Schedule extends React.Component { | |
state = { | |
selectedDay: "THURSDAY" | |
}; | |
handlePressItem = item => { |
This file contains 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 from "react"; | |
import { StyleSheet, Text, View, Image, TouchableOpacity } from "react-native"; | |
export default class ToggleButton extends React.Component { | |
renderItem = (item, index, list) => { | |
return ( | |
<View | |
style={[ | |
styles.button, | |
{ |
NewerOlder