summaryrefslogtreecommitdiff
path: root/storybook/views/story-screen.tsx
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-20 21:24:52 +0300
committerKirill Rogovoy <[email protected]>2021-07-20 21:24:52 +0300
commit5f4611d65e40eae3ca6191a15f68d69ea5a1c4cb (patch)
tree273dfc086444533d86d580961c92ba8d14781a67 /storybook/views/story-screen.tsx
parentf0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (diff)
WIP
Diffstat (limited to 'storybook/views/story-screen.tsx')
-rw-r--r--storybook/views/story-screen.tsx19
1 files changed, 0 insertions, 19 deletions
diff --git a/storybook/views/story-screen.tsx b/storybook/views/story-screen.tsx
deleted file mode 100644
index 1e59efd..0000000
--- a/storybook/views/story-screen.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import * as React from 'react'
-import { ViewStyle, KeyboardAvoidingView, Platform } from 'react-native'
-
-const ROOT: ViewStyle = { backgroundColor: '#f0f0f0', flex: 1 }
-
-export interface StoryScreenProps {
- children?: React.ReactNode
-}
-
-const behavior = Platform.OS === 'ios' ? 'padding' : undefined
-export const StoryScreen = (props: StoryScreenProps) => (
- <KeyboardAvoidingView
- style={ROOT}
- behavior={behavior}
- keyboardVerticalOffset={50}
- >
- {props.children}
- </KeyboardAvoidingView>
-)