Settings

Description

Update the user's goals and profile information

UserSettings

Description

Display a list of user settings (including weight and tracking item goals, birthdate, name, and gender.

Basic Usage

import { UserSettings } from "@miri-ai/miri-react-native";

function MyComponent() {
return (
<UserSettings />
);
}

Props

| Prop | Type | Description || :---- | :---- | :---- || onValueChangeSuccess | (message: string) => void | Handler to be called when a value is changed successfully | | onValueChangeError | (message: string) => void | Handler to be called when an error occurs |