# EcgStripViewer

Canonical page: https://docs.ovok.com/native-sdk/guide/components/ui/ecg-strip-viewer

`EcgStripViewer` renders chronological ECG samples in a scrollable strip with page controls. Pass the samples in millivolts and the sampling rate in samples per second. It is a presentation component; your app extracts and validates the ECG data before rendering.

Import it from `@ovok/native/ui`.

~~~tsx
import { EcgStripViewer } from "@ovok/native/ui";

<EcgStripViewer
  samples={recording.samplesMv}
  sampleRate={recording.sampleRate}
  pageDurationSeconds={10}
  onPageChange={(page, pageCount) => {
    setVisiblePage({ page, pageCount });
  }}
/>;
~~~

## Props [#props]

Every prop, with its type and description, is listed in the [`@ovok/native/ui` API reference](/native-sdk/reference/ui).
