This file contains hidden or 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 {Animated, Dimensions, Easing, PanResponder, StyleSheet, View} from "react-native"; | |
| import {Card} from "./Card"; | |
| const {width: screenWidth, height: screenHeight} = Dimensions.get("window"); | |
| export class Sliding extends Component { | |
| bottomPadding = 10; | |
| data = new Array(20).fill({ | |
| name: "John Smith", |
This file contains hidden or 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 {Animated, Dimensions, Platform, Text, TouchableOpacity, View} from "react-native"; | |
| import {Body, Header, List, ListItem as Item, ScrollableTab, Tab, TabHeading, Tabs, Title} from "native-base"; | |
| import LinearGradient from "react-native-linear-gradient"; | |
| const {width: SCREEN_WIDTH} = Dimensions.get("window"); | |
| const IMAGE_HEIGHT = 250; | |
| const HEADER_HEIGHT = Platform.OS === "ios" ? 64 : 50; | |
| const SCROLL_HEIGHT = IMAGE_HEIGHT - HEADER_HEIGHT; | |
| const THEME_COLOR = "rgba(85,186,255, 1)"; |
OlderNewer