Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions NewArch/src/examples/ScrollViewExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const ScrollViewExamplePage: React.FunctionComponent<{navigation?: any}>
but you can add any type of ReactNode inside of of a ScrollView.
</Text>
</ScrollView>`;
const example2jsx = `<ScrollView style={{height: 40}} horizontal={true}>
const example2jsx = `<ScrollView style={{height: 40}} horizontal={true} focusable={true}>
<Text>
Here is a very long snippet of text. The goal is for this text to be
too long to fit inside this view which has a height restriction.
Expand Down Expand Up @@ -150,7 +150,7 @@ export const ScrollViewExamplePage: React.FunctionComponent<{navigation?: any}>
</ScrollView>
</Example>
<Example title="A horizontal ScrollView." code={example2jsx}>
<ScrollView style={{height: 40}} horizontal={true}>
<ScrollView style={{height: 40}} horizontal={true} {...({focusable: true} as any)}>
<Text style={{color: colors.text}}>
Here is a very long snippet of text. The goal is for this text to be
too long to fit inside this view which has a height restriction.
Expand Down