Skip to main content

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​

MemberTypeDetails
samplesreadonly number[]ECG samples in millivolts, in chronological order.
sampleRatenumber—
speednumberOptional. Speed in millimetres per second. Standard ECG paper uses 25.
gainnumberOptional. Gain in millimetres per millivolt. Standard ECG paper uses 10.
pageDurationSecondsnumberOptional. —
initialPagenumberOptional. —
onPageChange(page: number, pageCount: number) => voidOptional. —
testIDstringOptional. —
themeOvokThemeOverrideOptional. A partial theme is merged with the active react-native-paper theme.
slotsPartial<OvokUiSlots>Optional. Replace individual primitives without forking an SDK component.

Learn the workflow​

Continue with Ui And Data for the workflow context and examples.

Source​

View the declaration in the SDK source.