From f0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Mon, 19 Jul 2021 20:06:08 +0300 Subject: Apply Prettier --- app/screens/demo/demo-list-screen.tsx | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) (limited to 'app/screens/demo/demo-list-screen.tsx') diff --git a/app/screens/demo/demo-list-screen.tsx b/app/screens/demo/demo-list-screen.tsx index ae66307..282bf4a 100644 --- a/app/screens/demo/demo-list-screen.tsx +++ b/app/screens/demo/demo-list-screen.tsx @@ -1,10 +1,16 @@ -import React, { useEffect } from "react" -import { FlatList, TextStyle, View, ViewStyle, ImageStyle } from "react-native" -import { useNavigation } from "@react-navigation/native" -import { observer } from "mobx-react-lite" -import { Header, Screen, Text, Wallpaper, AutoImage as Image } from "../../components" -import { color, spacing } from "../../theme" -import { useStores } from "../../models" +import React, { useEffect } from 'react' +import { FlatList, TextStyle, View, ViewStyle, ImageStyle } from 'react-native' +import { useNavigation } from '@react-navigation/native' +import { observer } from 'mobx-react-lite' +import { + Header, + Screen, + Text, + Wallpaper, + AutoImage as Image, +} from '../../components' +import { color, spacing } from '../../theme' +import { useStores } from '../../models' const FULL: ViewStyle = { flex: 1, @@ -19,14 +25,14 @@ const HEADER: TextStyle = { } const HEADER_TITLE: TextStyle = { fontSize: 12, - fontWeight: "bold", + fontWeight: 'bold', letterSpacing: 1.5, lineHeight: 15, - textAlign: "center", + textAlign: 'center', } const LIST_CONTAINER: ViewStyle = { - alignItems: "center", - flexDirection: "row", + alignItems: 'center', + flexDirection: 'row', padding: 10, } const IMAGE: ImageStyle = { @@ -59,7 +65,11 @@ export const DemoListScreen = observer(function DemoListScreen() { return ( - +