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/form-row/form-row.story.tsx | 46 ++++++++++++++++++------------ 1 file changed, 27 insertions(+), 19 deletions(-) (limited to 'app/components/form-row/form-row.story.tsx') diff --git a/app/components/form-row/form-row.story.tsx b/app/components/form-row/form-row.story.tsx index 509afbb..97e43a2 100644 --- a/app/components/form-row/form-row.story.tsx +++ b/app/components/form-row/form-row.story.tsx @@ -1,23 +1,23 @@ /* eslint-disable react-native/no-inline-styles */ /* eslint-disable react-native/no-color-literals */ -import * as React from "react" -import { storiesOf } from "@storybook/react-native" -import { StoryScreen, Story, UseCase } from "../../../storybook/views" -import { Text, FormRow } from "../" -import { color } from "../../theme/color" -import { ViewStyle } from "react-native" +import * as React from 'react' +import { storiesOf } from '@storybook/react-native' +import { StoryScreen, Story, UseCase } from '../../../storybook/views' +import { Text, FormRow } from '../' +import { color } from '../../theme/color' +import { ViewStyle } from 'react-native' declare let module const TEXT_STYLE_OVERRIDE = { color: color.storybookTextColor, } -const arrayStyle: ViewStyle[] = [{ borderWidth: 5 }, { borderColor: "#32cd32" }] +const arrayStyle: ViewStyle[] = [{ borderWidth: 5 }, { borderColor: '#32cd32' }] -storiesOf("FormRow", module) +storiesOf('FormRow', module) .addDecorator((fn) => {fn()}) - .add("Assembled", () => ( + .add('Assembled', () => ( - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi officia quo rerum - impedit asperiores hic ex quae, quam dolores vel odit doloribus, tempore atque deserunt - possimus incidunt, obcaecati numquam officiis. + Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi + officia quo rerum impedit asperiores hic ex quae, quam dolores vel + odit doloribus, tempore atque deserunt possimus incidunt, obcaecati + numquam officiis. @@ -47,20 +48,25 @@ storiesOf("FormRow", module) - My borders are still there, but they are clear. This causes the text to still align - properly due to the box model of flexbox. + My borders are still there, but they are clear. This causes the text + to still align properly due to the box model of flexbox. I'm round - - I'm square and have a custom style. + + + I'm square and have a custom style. + )) - .add("Presets", () => ( + .add('Presets', () => ( @@ -70,7 +76,9 @@ storiesOf("FormRow", module) - No curves and empty at the bottom. + + No curves and empty at the bottom. + @@ -96,7 +104,7 @@ storiesOf("FormRow", module) )) - .add("Styling", () => ( + .add('Styling', () => ( -- cgit v1.2.3