Skip to content

Commit a2f1e5a

Browse files
author
Herbert Kavuma
committed
docs: modify readme.md
1 parent 96f2051 commit a2f1e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ import InViewport from '@herberthtk/react-native-viewport';
3636

3737
return (
3838
<InViewport
39-
threshold={0.7}
40-
delay={100}
39+
threshold={0.7} // This component will be considered visible if it is 70% visible (Default is 1 that means 100%)
40+
delay={100} // This component will check if it is visible every 200ms (default is 1000ms or 1 second) )
4141
onChange={handleChange}
4242
style={[styles.section, { backgroundColor }]}
4343
>

0 commit comments

Comments
 (0)