summaryrefslogtreecommitdiff
path: root/app/components/header/header.story.tsx
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
committerKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
commitf0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (patch)
tree575c0ff2cbb846252bd2e494c81c396846aab2f6 /app/components/header/header.story.tsx
parent67ad38d0a7cd319623e9f41c0c381ed5c5f6f973 (diff)
Apply Prettier
Diffstat (limited to 'app/components/header/header.story.tsx')
-rw-r--r--app/components/header/header.story.tsx20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/components/header/header.story.tsx b/app/components/header/header.story.tsx
index 05093b3..db87b89 100644
--- a/app/components/header/header.story.tsx
+++ b/app/components/header/header.story.tsx
@@ -1,9 +1,9 @@
-import * as React from "react"
-import { View, Alert } from "react-native"
-import { storiesOf } from "@storybook/react-native"
-import { StoryScreen, Story, UseCase } from "../../../storybook/views"
-import { Header } from "./header"
-import { color } from "../../theme"
+import * as React from 'react'
+import { View, Alert } from 'react-native'
+import { storiesOf } from '@storybook/react-native'
+import { StoryScreen, Story, UseCase } from '../../../storybook/views'
+import { Header } from './header'
+import { color } from '../../theme'
declare let module
@@ -12,9 +12,9 @@ const VIEWSTYLE = {
backgroundColor: color.storybookDarkBg,
}
-storiesOf("Header", module)
+storiesOf('Header', module)
.addDecorator((fn) => <StoryScreen>{fn()}</StoryScreen>)
- .add("Behavior", () => (
+ .add('Behavior', () => (
<Story>
<UseCase noPad text="default" usage="The default usage">
<View style={VIEWSTYLE}>
@@ -26,7 +26,7 @@ storiesOf("Header", module)
<Header
headerTx="demoScreen.howTo"
leftIcon="back"
- onLeftPress={() => Alert.alert("left nav")}
+ onLeftPress={() => Alert.alert('left nav')}
/>
</View>
</UseCase>
@@ -35,7 +35,7 @@ storiesOf("Header", module)
<Header
headerTx="demoScreen.howTo"
rightIcon="bullet"
- onRightPress={() => Alert.alert("right nav")}
+ onRightPress={() => Alert.alert('right nav')}
/>
</View>
</UseCase>