diff options
Diffstat (limited to 'storybook/views/story.tsx')
-rw-r--r-- | storybook/views/story.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/storybook/views/story.tsx b/storybook/views/story.tsx index c85f7f0..68d298e 100644 --- a/storybook/views/story.tsx +++ b/storybook/views/story.tsx @@ -1,5 +1,5 @@ -import * as React from "react" -import { ScrollView, View, ViewStyle } from "react-native" +import * as React from 'react' +import { ScrollView, View, ViewStyle } from 'react-native' export interface StoryProps { children?: React.ReactNode @@ -10,7 +10,9 @@ const ROOT: ViewStyle = { flex: 1 } export function Story(props: StoryProps) { return ( <View style={ROOT}> - <ScrollView keyboardShouldPersistTaps="handled">{props.children}</ScrollView> + <ScrollView keyboardShouldPersistTaps="handled"> + {props.children} + </ScrollView> </View> ) } |