From 2c7326b7f19094727a22c5389d341d5c0c9e1f7f Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 10 Jun 2019 18:27:45 +0800 Subject: [PATCH] Using single quotes with ES --- src/line/line.js | 8 ++++---- src/placeholder/placeholder.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/line/line.js b/src/line/line.js index 4f2dfe8..8ef04f2 100644 --- a/src/line/line.js +++ b/src/line/line.js @@ -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; diff --git a/src/placeholder/placeholder.js b/src/placeholder/placeholder.js index 0541057..23c4e29 100644 --- a/src/placeholder/placeholder.js +++ b/src/placeholder/placeholder.js @@ -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 },