Skip to main content

Settings lists

Use SettingList to render grouped settings rows with section headers and custom items. The SDK handles the list presentation; the app owns setting values, updates, permissions, and persistence.

import { SettingList } from "@ovok/native/setting";

<SettingList
data={[
"Account",
{ title: "Language", onPress: openLanguageSettings },
{ title: "Notifications", onPress: openNotifications },
]}
/>

Wire each row to a real action and reflect the saved value after the update succeeds. For asynchronous changes, show progress and failure feedback in the screen. Use a custom item when the setting needs a control such as a switch; do not make the row look interactive if it has no action.

References​