A Pen by Benjamin Reid on CodePen.
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
Support Library class | Android X class | |
---|---|---|
android.support.v8.renderscript.Allocation | android.renderscript.Allocation | |
android.support.v8.renderscript.Element | android.renderscript.Element | |
android.support.v8.renderscript.RenderScript | android.renderscript.RenderScript | |
android.support.v8.renderscript.ScriptIntrinsicBlur | android.renderscript.ScriptIntrinsicBlur | |
android.support.transition.AnimatorUtils | androidx.transition.AnimatorUtils | |
android.support.transition.ArcMotion | androidx.transition.ArcMotion | |
android.support.transition.AutoTransition | androidx.transition.AutoTransition | |
android.support.transition.ChangeBounds | androidx.transition.ChangeBounds | |
android.support.transition.ChangeClipBounds | androidx.transition.ChangeClipBounds |
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
android.support.v8.renderscript.Allocation | android.renderscript.Allocation | |
---|---|---|
android.support.v8.renderscript.Element | android.renderscript.Element | |
android.support.v8.renderscript.RenderScript | android.renderscript.RenderScript | |
android.support.v8.renderscript.ScriptIntrinsicBlur | android.renderscript.ScriptIntrinsicBlur | |
android.support.transition.AnimatorUtils | androidx.transition.AnimatorUtils | |
android.support.transition.ArcMotion | androidx.transition.ArcMotion | |
android.support.transition.AutoTransition | androidx.transition.AutoTransition | |
android.support.transition.ChangeBounds | androidx.transition.ChangeBounds | |
android.support.transition.ChangeClipBounds | androidx.transition.ChangeClipBounds |
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
'use strict'; | |
import React, {Component} from 'react'; | |
import { | |
Text, | |
} from 'react-native'; | |
export default class AppText extends Component { | |
constructor(props) { | |
super(props) |
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, PropTypes } from 'react' | |
import { G, Line, Path, Rect, Text } from 'react-native-svg' | |
import * as d3scale from 'd3-scale' | |
import { dateToShortString } from '../utils' | |
export default class Axis extends Component { | |
static propTypes = { | |
width: PropTypes.number.isRequired, | |
ticks: PropTypes.number.isRequired, | |
x: PropTypes.number, |
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, { PureComponent } from 'react'; | |
import { StyleSheet, View, TouchableWithoutFeedback, Animated, Easing, Platform } from 'react-native'; | |
import { COLOR, Toolbar, Icon } from '../react-native-material-ui'; | |
const styles = StyleSheet.create({ | |
pageContainer: { | |
flex: 1, | |
}, | |
contentContainer: { |
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
'use strict'; | |
import React, {Component} from 'react'; | |
import { | |
Text, | |
} from 'react-native'; | |
export default class AppText extends Component { | |
constructor(props) { | |
super(props) |
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
RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache | |
RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache | |
RN >= 0.63 - watchman watch-del-all && rm -rf node_modules && npm install && rm -rf /tmp/metro-* && npm run start --reset-cache | |
npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache | |
Windows - del %appdata%\Temp\react-native-* & cd android & gradlew clean & cd .. & del node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache |
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 TextField from 'components/base/TextField'; | |
const WAIT_INTERVAL = 1000; | |
const ENTER_KEY = 13; | |
export default class TextSearch extends Component { | |
constructor(props) { | |
super(); |
NewerOlder