Skip to main content

NearbyDevicePromptProps

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

TypeScript shape​

interface NearbyDevicePromptProps extends OvokUiProps {
storage: PairedDeviceStorage;
storageKey?: string;
declinedStorageKey?: string;
enabled?: boolean;
hint?: string;
onPaired?: (device: RuntimeDevice) => void;
onError?: (error: Error, device?: RuntimeDevice) => void;
labels?: Record<string, string>;
testID?: string;
}

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

Public members​

MemberTypeDetails
storagePairedDeviceStorage—
storageKeystringOptional. —
declinedStorageKeystringOptional. —
enabledbooleanOptional. —
hintstringOptional. —
onPaired(device: RuntimeDevice) => voidOptional. —
onError(error: Error, device?: RuntimeDevice) => voidOptional. —
labelsRecord<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.

Learn the workflow​

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

Source​

View the declaration in the SDK source.