Skip to main content

BackgroundSyncSettingProps

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

TypeScript shape​

interface BackgroundSyncSettingProps extends OvokUiProps, UseBackgroundSyncOptions {
title?: string;
description?: React.ReactNode;
statusLabels?: Partial<Record<"on" | "restricted" | "blocked" | "off", string>>;
reasonLabels?: Partial<Record<string, string>>;
testID?: string;
}

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

Public members​

MemberTypeDetails
titlestringOptional. —
descriptionReact.ReactNodeOptional. —
statusLabelsPartial<Record<"on" | "restricted" | "blocked" | "off", string>>Optional. —
reasonLabelsPartial<Record<string, 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.
enabledbooleanOptional. —
canEnable() => Promise<boolean>Optional. —
onEnabledChange(enabled: boolean) => Promise<void> | voidOptional. —

Learn the workflow​

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

Source​

View the declaration in the SDK source.