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/components/icon/icon.props.ts | 4 ++-- app/components/icon/icon.story.tsx | 12 ++++++------ app/components/icon/icon.tsx | 12 ++++++------ app/components/icon/icons/index.ts | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) (limited to 'app/components/icon') diff --git a/app/components/icon/icon.props.ts b/app/components/icon/icon.props.ts index 71ce0b7..1f3ed2e 100644 --- a/app/components/icon/icon.props.ts +++ b/app/components/icon/icon.props.ts @@ -1,5 +1,5 @@ -import { ImageStyle, StyleProp, ViewStyle } from "react-native" -import { IconTypes } from "./icons" +import { ImageStyle, StyleProp, ViewStyle } from 'react-native' +import { IconTypes } from './icons' export interface IconProps { /** diff --git a/app/components/icon/icon.story.tsx b/app/components/icon/icon.story.tsx index d119ed4..31c8499 100644 --- a/app/components/icon/icon.story.tsx +++ b/app/components/icon/icon.story.tsx @@ -1,13 +1,13 @@ -import * as React from "react" -import { storiesOf } from "@storybook/react-native" -import { StoryScreen, Story, UseCase } from "../../../storybook/views" -import { Icon } from "./icon" +import * as React from 'react' +import { storiesOf } from '@storybook/react-native' +import { StoryScreen, Story, UseCase } from '../../../storybook/views' +import { Icon } from './icon' declare let module -storiesOf("Icon", module) +storiesOf('Icon', module) .addDecorator((fn) => {fn()}) - .add("Names", () => ( + .add('Names', () => ( diff --git a/app/components/icon/icon.tsx b/app/components/icon/icon.tsx index 4735e13..f596bb2 100644 --- a/app/components/icon/icon.tsx +++ b/app/components/icon/icon.tsx @@ -1,11 +1,11 @@ -import * as React from "react" -import { View, ImageStyle } from "react-native" -import { AutoImage as Image } from "../auto-image/auto-image" -import { IconProps } from "./icon.props" -import { icons } from "./icons" +import * as React from 'react' +import { View, ImageStyle } from 'react-native' +import { AutoImage as Image } from '../auto-image/auto-image' +import { IconProps } from './icon.props' +import { icons } from './icons' const ROOT: ImageStyle = { - resizeMode: "contain", + resizeMode: 'contain', } export function Icon(props: IconProps) { diff --git a/app/components/icon/icons/index.ts b/app/components/icon/icons/index.ts index 00e8a59..792e408 100644 --- a/app/components/icon/icons/index.ts +++ b/app/components/icon/icons/index.ts @@ -1,6 +1,6 @@ export const icons = { - back: require("./arrow-left.png"), - bullet: require("./bullet.png"), + back: require('./arrow-left.png'), + bullet: require('./bullet.png'), } export type IconTypes = keyof typeof icons -- cgit v1.2.3