π§± UI Components (React Native)
The SDK provides two embedded views β <NutritionView /> and <TrainingView /> β and a typed Destination factory. Full RN guide: Navigation.
One-screen overviewβ
import {
AzeooProvider, useAzeoo,
NutritionView, TrainingView,
Destination,
} from 'react-native-azeoo-lib';
function MyScreen() {
const { sdk } = useAzeoo();
return (
<View>
{/* Embed the nutrition surface */}
<NutritionView bottomSafeArea={false} />
{/* Navigate via typed destinations */}
<Button title="Open plan" onPress={() => {
sdk?.navigate(Destination.nutrition.plan('abc-123'));
}} />
</View>
);
}
What to read nextβ
- Nutrition Module β Full destination catalogue for nutrition (plans, recipes, scanner, search, cart, β¦).
- Training Module β Full destination catalogue for training (workouts, exercises, progress, schedule).
- React Native navigation β TypeScript examples, tab container, deep links.
- Concepts β Navigation β Architecture and catalogue.
- Configuration β Theme, safe area, deep links.