Skip to content

Commit

Permalink
Using single quotes with ES
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-yuan-dev committed Jun 10, 2019
1 parent 657f686 commit 2c7326b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/line/line.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from "react";
import { View } from "react-native";
import React from 'react';
import { View } from 'react-native';

export const Line = ({
textSize = 12,
color = "#efefef",
color = '#efefef',
style,
noMargin = false,
...props
}) => {
const height = textSize;
const alignSelf = "stretch";
const alignSelf = 'stretch';
const backgroundColor = color;
const borderRadius = textSize / 4;
const marginBottom = noMargin ? 0 : textSize;
Expand Down
8 changes: 4 additions & 4 deletions src/placeholder/placeholder.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from "react";
import { View, StyleSheet } from "react-native";
import Animations from "../animation/animations";
import React from 'react';
import { View, StyleSheet } from 'react-native';
import Animations from '../animation/animations';

const styles = StyleSheet.create({
container: {
flexDirection: "row",
flexDirection: 'row',
flex: 1,
marginHorizontal: 0
},
Expand Down

0 comments on commit 2c7326b

Please sign in to comment.