GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ReScript React Native
  • Docs
  • Components
  • APIs
  • Blog
  • GitHub
  • ActivityIndicator
  • Button
  • DrawerLayoutAndroid
  • FlatList
  • Image
  • ImageBackground
  • InputAccessoryView
  • KeyboardAvoidingView

This view

  • Original page
  • New address

GeezerVison is showing rescript-react-native.github.io — FlatList | ReScript React Native

type item = {id: string, title: string}

let data = [{id: "1", title: "One"}, {id: "2", title: "Two"}]

<FlatList
data
keyExtractor={(item, _index) => item.id}
renderItem={({item}) =>
<Text> {item.title->React.string} </Text>}
/>

Supports VirtualizedList props plus numColumns / columnWrapperStyle.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.