Skip to main content

HealthImportCardProps

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

TypeScript shape​

interface HealthImportCardProps<TType extends string = string> extends OvokUiProps {
types: readonly TType[];
adapter: HealthImportAdapter<TType>;
background?: boolean;
title?: string;
labelForType?: (type: TType) => string;
progress?: Partial<Record<TType, SyncProgress>>;
statusLabels?: Partial<Record<SyncProgress["status"], string>>;
reasonLabels?: Partial<Record<NonNullable<SyncProgress["reason"]>, string>>;
testID?: string;
}

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

Public members​

MemberTypeDetails
typesreadonly TType[]—
adapterHealthImportAdapter<TType>—
backgroundbooleanOptional. —
titlestringOptional. —
labelForType(type: TType) => stringOptional. —
progressPartial<Record<TType, SyncProgress>>Optional. —
statusLabelsPartial<Record<SyncProgress["status"], string>>Optional. —
reasonLabelsPartial<Record<NonNullable<SyncProgress["reason"]>, string>>Optional. —
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.