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/text/text.story.tsx | 39 +++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) (limited to 'app/components/text/text.story.tsx') diff --git a/app/components/text/text.story.tsx b/app/components/text/text.story.tsx index 5582c1b..4535194 100644 --- a/app/components/text/text.story.tsx +++ b/app/components/text/text.story.tsx @@ -1,12 +1,12 @@ /* eslint-disable react-native/no-inline-styles */ /* eslint-disable react-native/no-color-literals */ -import * as React from "react" -import { View, ViewStyle } from "react-native" -import { storiesOf } from "@storybook/react-native" -import { StoryScreen, Story, UseCase } from "../../../storybook/views" -import { color } from "../../theme" -import { Text } from "./text" +import * as React from 'react' +import { View, ViewStyle } from 'react-native' +import { storiesOf } from '@storybook/react-native' +import { StoryScreen, Story, UseCase } from '../../../storybook/views' +import { color } from '../../theme' +import { Text } from './text' declare let module @@ -14,21 +14,23 @@ const VIEWSTYLE = { flex: 1, backgroundColor: color.storybookDarkBg, } -const viewStyleArray: ViewStyle[] = [VIEWSTYLE, { backgroundColor: "#7fff00" }] +const viewStyleArray: ViewStyle[] = [VIEWSTYLE, { backgroundColor: '#7fff00' }] -storiesOf("Text", module) +storiesOf('Text', module) .addDecorator((fn) => {fn()}) - .add("Style Presets", () => ( + .add('Style Presets', () => ( Hello! - Check out{"\n"} - my{"\n"} + Check out{'\n'} + my{'\n'} line height - The quick brown fox jumped over the slow lazy dog. + + The quick brown fox jumped over the slow lazy dog. + $123,456,789.00 @@ -44,7 +46,7 @@ storiesOf("Text", module) )) - .add("Passing Content", () => ( + .add('Passing Content', () => ( Passing strings as children. - + - {" "} + {' '} Hello bolded World. )) - .add("Styling", () => ( + .add('Styling', () => ( - {" "} + {' '} Hello bolded World. -- cgit v1.2.3