Hanzo GUI

ScrollView

React Native ScrollView with Hanzo GUI props

  • All the features of React Native ScrollView.
  • Adds all the style properties of Hanzo GUI.

Installation

ScrollView is already installed in @hanzo/gui, or you can install it independently:

npm install @hanzogui/scroll-view

Usage

import { ScrollView, YStack, ListItem } from '@hanzo/gui'

export default () => (
  <ScrollView>
    <YStack>
      <ListItem>1</ListItem>
      <ListItem>2</ListItem>
      <ListItem>3</ListItem>
      <ListItem>4</ListItem>
    </YStack>
  </ScrollView>
)

API Reference

ScrollView

See React Native ScrollView and Gui style props.

Last updated on

On this page