Skip to main content

ManualEntryFormProps

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 { ManualEntryFormProps } from '@ovok/native/ui';

TypeScript shape​

interface ManualEntryFormProps extends OvokUiProps {
measurementTypeKey: MeasurementTypeKey;
saveMeasurement: (input: ManualEntrySaveInput) => Promise<unknown>;
initialValues?: Partial<Record<string, number>>;
recordedAt?: Date;
title?: string;
labelForField?: (field: string) => string;
testID?: string;
onSaved?: (input: ManualEntrySaveInput) => void;
labelForUnit?: (unit: string) => string;
}

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
measurementTypeKeyMeasurementTypeKey—
saveMeasurement(input: ManualEntrySaveInput): Promise<unknown>—
initialValuesPartial<Record<string, number>>Optional. —
recordedAtDateOptional. —
titlestringOptional. —
labelForField(field: string) => stringOptional. —
testIDstringOptional. —
onSaved(input: ManualEntrySaveInput) => voidOptional. —
labelForUnit(unit: string) => stringOptional. —
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.