Skip to content

Commit 00eeda8

Browse files
Merge pull request #224 from testshallpass/alert-queue
Implement Alert queue
2 parents 878e1dc + 97849a9 commit 00eeda8

27 files changed

+17656
-12203
lines changed

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
root: true,
3+
extends: '@react-native-community',
4+
};

.prettierrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
bracketSpacing: false,
3+
jsxBracketSameLine: true,
4+
singleQuote: true,
5+
trailingComma: 'all',
6+
};

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
language: node_js
22
node_js:
3-
- "8.11.3"
3+
- "13.8.0"
44
branches:
55
only:
66
- master
77
build:
88
run:
9-
- npm test
9+
- yarn test
1010
before_install:
1111
- pip install --user codecov
1212
after_success:

CancelButton.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import React, { Component } from 'react';
1+
import React, {Component} from 'react';
22
import PropTypes from 'prop-types';
3-
import { TouchableOpacity } from 'react-native';
3+
import {TouchableOpacity} from 'react-native';
44
import ImageView from './imageview';
5-
import { DEFAULT_IMAGE_DIMENSIONS } from './constants';
5+
import {DEFAULT_IMAGE_DIMENSIONS} from './constants';
66

77
export default class CancelButton extends Component {
88
static propTypes = {
@@ -21,7 +21,7 @@ export default class CancelButton extends Component {
2121
},
2222
};
2323
render() {
24-
const { style, onPress, imageStyle, imageSrc } = this.props;
24+
const {style, onPress, imageStyle, imageSrc} = this.props;
2525
return (
2626
<TouchableOpacity style={style} onPress={onPress}>
2727
<ImageView style={imageStyle} source={imageSrc} />

0 commit comments

Comments
 (0)