# MeasurementList

Canonical page: https://docs.ovok.com/native-sdk/guide/components/measurement/measurement-list

`MeasurementList` renders a `FlashList` and supplies a default row renderer. It accepts `FlashListProps<T>` except `renderItem`, plus `onItemPress(item, index)`. Each item must contain `value`, `unit`, and `date` for the default row.

```tsx
<MeasurementList
  data={measurements}
  keyExtractor={(item) => item.id}
  onItemPress={(item) => openMeasurement(item)}
/>
```

`renderItem` is owned by the component and is not a public override. Use `MeasurementList.Item` directly when a different list renderer is needed. The list prepares FlashList for layout animation when its data changes and forwards the remaining FlashList props. There is no SDK-specific `estimatedItemSize` prop.

The component forwards a `ref` to the underlying `FlashList` as a
`FlashListRef<T>`, so callers can use FlashList methods and layout-animation
preparation through that ref.
