pip3 install pipenv
pipenv shell
| // @flow | |
| import React, { Component } from 'react' | |
| import { Image, Animated, View } from 'react-native' | |
| type ProgressiveImageState = { | |
| thumbnailOpacity: number, | |
| key: string | |
| } |
| import React, { PropTypes, PureComponent } from 'react'; | |
| import { Image, ScrollView, } from 'react-native'; | |
| export default class ScrollViewWithBg extends PureComponent { | |
| constructor (props) { | |
| super(props); | |
| this.state = {contentSize: {width: 0, height: 0}} | |
| } |
| 'use strict'; | |
| var React = require('react-native'); | |
| var { | |
| AppRegistry, | |
| StyleSheet, | |
| Text, | |
| View, | |
| Easing, | |
| Animated, |
| config = { //SAMPLE OBJECT - replace this with your data object | |
| stroke: 2, //svg stroke value | |
| opacity: 0.3, //0-1 | |
| offsetX: 120, //px | |
| offsetY: 80, | |
| fontWeight: 400, //css font-weight | |
| fontSize: 12, //in px | |
| changePositive: '\u25B4', //unicode character for up arrow | |
| changeNegative: '\u25BE', //unicode character for down arrow | |
| colorBlue: '#1190A3', //all hex colors will automatically use the addColor dat gui function |
Short (72 chars or less) summary
More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).
Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
For development, you will only need Node.js installed on your environement. And please use the appropriate Editorconfig plugin for your Editor (not mandatory).