Skip to main content

Scroll

SCroll View​

<Scroll>your elements</Scroll>

Api References for Selection

ParameterTypeDescription
horizontal booleanhorizontal items
fadeEdgeobject itemfadeEdge end of items
showsHorizontalScrollIndicatorbooleandisabling scroll navigator down of element horizontally
showsVerticalScrollIndicatorbooleandisabling scroll navigator down of element vertically
onScrollvoidFires at most once per frame during scrolling
endColorstringSometimes a scrollview takes up more space than its content fills. When this is the case, this prop will fill the rest of the scrollview with a color to avoid setting a background and creating unnecessary overdraw.
pagingEnabledbooleanWhen true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.
styleanyyour custom styles