Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 787 Bytes

File metadata and controls

29 lines (20 loc) · 787 Bytes
id virtualrow
title VirtualRow 🧪

import ExperimentalAPIWarning from './_experimental-api-warning.mdx';

VirtualRow is a row layout component that lazily mounts and virtualizes items.

<ScrollView>
  <VirtualRow
    items={new VirtualArray(items)}>
    {(item, key) => <Text>{item.value}</Text>}
  </VirtualRow>
</ScrollView>

A ScrollView ancestor is required for virtualized and scrollable items. If there is no ancestor ScrollView, the items will always be rendered as though they are within the viewport.

Diagram of VirtualRow.

See VirtualColumn for more details.

Props

See VirtualColumn props.