summaryrefslogtreecommitdiffhomepage
path: root/app/components/LayoutStyles.js
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-04-12 09:41:13 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-04-16 12:01:12 +0200
commit7f485b287d9a501e7de11d470d68f1e698ff10c2 (patch)
tree81767a79b7d47f813da5ef2edcff150a243b3416 /app/components/LayoutStyles.js
parentc9f2ec62790a62e674b1252a6a18dec451d17bf3 (diff)
downloadmullvadvpn-7f485b287d9a501e7de11d470d68f1e698ff10c2.tar.xz
mullvadvpn-7f485b287d9a501e7de11d470d68f1e698ff10c2.zip
JS fixes for react-native
Diffstat (limited to 'app/components/LayoutStyles.js')
-rw-r--r--app/components/LayoutStyles.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/components/LayoutStyles.js b/app/components/LayoutStyles.js
new file mode 100644
index 0000000000..ab32d45e7b
--- /dev/null
+++ b/app/components/LayoutStyles.js
@@ -0,0 +1,20 @@
+// @flow
+import { createViewStyles } from '../lib/styles';
+import { colors } from '../config';
+
+export default {
+ ...createViewStyles({
+ layout: {
+ flexDirection: 'column',
+ flex: 1,
+ },
+ header: {
+ flex: 0,
+ },
+ container: {
+ flex: 1,
+ backgroundColor: colors.blue,
+ overflow: 'hidden',
+ }
+ }),
+};