summaryrefslogtreecommitdiff
path: root/app/components/header/header.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/header/header.tsx')
-rw-r--r--app/components/header/header.tsx28
1 files changed, 14 insertions, 14 deletions
diff --git a/app/components/header/header.tsx b/app/components/header/header.tsx
index b4a6634..25e0914 100644
--- a/app/components/header/header.tsx
+++ b/app/components/header/header.tsx
@@ -1,23 +1,23 @@
-import React from "react"
-import { View, ViewStyle, TextStyle } from "react-native"
-import { HeaderProps } from "./header.props"
-import { Button } from "../button/button"
-import { Text } from "../text/text"
-import { Icon } from "../icon/icon"
-import { spacing } from "../../theme"
-import { translate } from "../../i18n/"
+import React from 'react'
+import { View, ViewStyle, TextStyle } from 'react-native'
+import { HeaderProps } from './header.props'
+import { Button } from '../button/button'
+import { Text } from '../text/text'
+import { Icon } from '../icon/icon'
+import { spacing } from '../../theme'
+import { translate } from '../../i18n/'
// static styles
const ROOT: ViewStyle = {
- flexDirection: "row",
+ flexDirection: 'row',
paddingHorizontal: spacing[4],
- alignItems: "center",
+ alignItems: 'center',
paddingTop: spacing[5],
paddingBottom: spacing[5],
- justifyContent: "flex-start",
+ justifyContent: 'flex-start',
}
-const TITLE: TextStyle = { textAlign: "center" }
-const TITLE_MIDDLE: ViewStyle = { flex: 1, justifyContent: "center" }
+const TITLE: TextStyle = { textAlign: 'center' }
+const TITLE_MIDDLE: ViewStyle = { flex: 1, justifyContent: 'center' }
const LEFT: ViewStyle = { width: 32 }
const RIGHT: ViewStyle = { width: 32 }
@@ -35,7 +35,7 @@ export function Header(props: HeaderProps) {
style,
titleStyle,
} = props
- const header = headerText || (headerTx && translate(headerTx)) || ""
+ const header = headerText || (headerTx && translate(headerTx)) || ''
return (
<View style={[ROOT, style]}>