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 { PropTypes } from 'prop-types'; | |
import React, { Component } from 'react'; | |
import { Animated, Dimensions, Keyboard, StyleSheet, TextInput, UIManager } from 'react-native'; | |
const { State: TextInputState } = TextInput; | |
export default class KeyboardShift extends Component { | |
state = { | |
shift: new Animated.Value(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
# Change YOUR_TOKEN to your prerender token | |
# Change example.com (server_name) to your website url | |
# Change /path/to/your/root to the correct value | |
server { | |
listen 80; | |
server_name example.com; | |
root /path/to/your/root; | |
index index.html; |