From 1b333667efcd31eadbbac49845141a41553761b7 Mon Sep 17 00:00:00 2001 From: Shachar Udi Date: Thu, 12 Feb 2026 11:17:51 -0500 Subject: [PATCH 1/5] MOB-2372 Styled demo app --- example/src/screens/authenticated-user.tsx | 337 +++++++++++++++++---- example/src/screens/login.tsx | 243 ++++++++++++--- 2 files changed, 476 insertions(+), 104 deletions(-) diff --git a/example/src/screens/authenticated-user.tsx b/example/src/screens/authenticated-user.tsx index 590eea2..b4857b7 100644 --- a/example/src/screens/authenticated-user.tsx +++ b/example/src/screens/authenticated-user.tsx @@ -1,5 +1,5 @@ import React, { type ReactElement } from 'react'; -import { Text, TextInput, Button, StyleSheet, View } from 'react-native'; +import { Text, TextInput, TouchableOpacity, StyleSheet, View, ScrollView, StatusBar } from 'react-native'; import type { MoneyTransferDTO } from '../App'; interface AuthenticatedUserProps { @@ -29,69 +29,122 @@ export class AuthenticatedUser extends React.Component - - {"DRS Example"} - {this.renderHeading()} - {this.renderInputFields()} - {this.renderSubmitButton()} - {this.renderLogoutButton()} - - ); - } + + + {/* Header */} + + + + Welcome back + {this.props.userId} + + this.props.onLogout()} + activeOpacity={0.8} + > + Sign Out + + + - private renderSubmitButton(): ReactElement { - return ( - -