EcgStripViewerProps
No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.
Kind: Interface
Package: @ovok/native
Import
import { EcgStripViewerProps } from '@ovok/native/ui';
TypeScript shape
interface EcgStripViewerProps extends OvokUiProps {
samples: readonly number[];
sampleRate: number;
speed?: number;
gain?: number;
pageDurationSeconds?: number;
initialPage?: number;
onPageChange?: (page: number, pageCount: number) => void;
testID?: string;
}
This is a type-level export; it has no call parameters.
Public members
| Member | Type | Details |
|---|---|---|
samples | readonly number[] | ECG samples in millivolts, in chronological order. |
sampleRate | number | — |
speed | number | Optional. Speed in millimetres per second. Standard ECG paper uses 25. |
gain | number | Optional. Gain in millimetres per millivolt. Standard ECG paper uses 10. |
pageDurationSeconds | number | Optional. — |
initialPage | number | Optional. — |
onPageChange | (page: number, pageCount: number) => void | Optional. — |
testID | string | Optional. — |
theme | OvokThemeOverride | Optional. A partial theme is merged with the active react-native-paper theme. |
slots | Partial<OvokUiSlots> | Optional. Replace individual primitives without forking an SDK component. |
Learn the workflow
Continue with Ui And Data for the workflow context and examples.