/* * File: LoginScreen.tsx * Description: Login screen for user authentication * Design & Developed by Tech4Biz Solutions * Copyright (c) Spurrin Innovations. All rights reserved. */ import React, { useState } from 'react'; import { View, Text, StyleSheet } from 'react-native'; import { TextInput } from 'shared/src/components/Input'; import { Button } from 'shared/src/components/Button'; import { Colors, Spacing, Typography } from 'shared/src/theme'; import { useDispatch } from 'react-redux'; import { login } from '../redux/authActions'; /** * LoginScreen - allows user to login with email and password */ const LoginScreen: React.FC = () => { const [email, setEmail] = useState(''); const [password, setPassword] = useState(''); const dispatch = useDispatch(); const handleLogin = () => { dispatch(login({ email, password })); }; return ( Radiologist Portal