Commit 14eaaf87 authored by G.sandhya's avatar G.sandhya

nigerian telemedicine app ui code

parent 50c34346

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

import React from "react";
import { YellowBox } from "react-native";
import { Font } from "expo";
import SplashScreen from "./src/screens/SplashScreen";
import Login from "./src/screens/Login";
import Register from "./src/screens/Register";
import Appointment from "./src/screens/Appointment";
import Success from "./src/screens/Success";
import { StackNavigator, DrawerNavigator } from "react-navigation";
const DrawerNavigation = DrawerNavigator({
SplashScreen: {
screen: SplashScreen
},
Login: {
screen: Login
},
Register: {
screen: Register
},
Appointment: {
screen: Appointment
},
Success: {
screen: Success
}
});
const StackNavigation = StackNavigator(
{
DrawerNavigation: {
screen: DrawerNavigation
},
SplashScreen: {
screen: SplashScreen
},
Login: {
screen: Login
},
Register: {
screen: Register
},
Appointment: {
screen: Appointment
},
Success: {
screen: Success
}
},
{
headerMode: "none"
}
);
export default class App extends React.Component {
constructor() {
super();
this.state = {
fontLoaded: false
};
YellowBox.ignoreWarnings([
"Warning: componentWillMount is deprecated",
"Warning: componentWillReceiveProps is deprecated",
"Warning: componentWillUpdate is deprecated"
]);
}
async componentDidMount() {
await Font.loadAsync({
Roboto: require("./src/assets/fonts/Arial.ttf") /*Fallback Font*/,
"AmericanTypewriter-CondensedBold": require("./src/assets/fonts/Arial.ttf") /*Fallback Font*/,
"Helvetica-Oblique": require("./src/assets/fonts/Arial.ttf") /*Fallback Font*/,
Tahoma: require("./src/assets/fonts/Tahoma.ttf")
});
this.setState({ fontLoaded: true });
console.warn("Fallback font is being used. Please check App.js file.");
}
render() {
return this.state.fontLoaded ? <StackNavigation /> : <Expo.AppLoading />;
}
}
{
"expo": {
"sdkVersion": "26.0.0"
}
}
../acorn/bin/acorn
\ No newline at end of file
../analytics-node/bin/analytics
\ No newline at end of file
../atob/bin/atob.js
\ No newline at end of file
../babylon/bin/babylon.js
\ No newline at end of file
../@expo/bunyan/bin/bunyan
\ No newline at end of file
../color-support/bin.js
\ No newline at end of file
../envinfo/src/cli.js
\ No newline at end of file
../escodegen/bin/escodegen.js
\ No newline at end of file
../escodegen/bin/esgenerate.js
\ No newline at end of file
../esprima/bin/esparse.js
\ No newline at end of file
../esprima/bin/esvalidate.js
\ No newline at end of file
../react-native-vector-icons/bin/fa5-upgrade.sh
\ No newline at end of file
../react-native-vector-icons/bin/generate-icon.js
\ No newline at end of file
../handlebars/bin/handlebars
\ No newline at end of file
../image-size/bin/image-size.js
\ No newline at end of file
../import-local/fixtures/cli.js
\ No newline at end of file
../is-ci/bin.js
\ No newline at end of file
../jest/bin/jest.js
\ No newline at end of file
../jest-runtime/bin/jest-runtime.js
\ No newline at end of file
../js-yaml/bin/js-yaml.js
\ No newline at end of file
../jsesc/bin/jsesc
\ No newline at end of file
../json5/lib/cli.js
\ No newline at end of file
../logfmt/bin/logfmt
\ No newline at end of file
../loose-envify/cli.js
\ No newline at end of file
../md5-file/cli.js
\ No newline at end of file
../metro/src/cli.js
\ No newline at end of file
../mime/cli.js
\ No newline at end of file
../mkdirp/bin/cmd.js
\ No newline at end of file
../ncp/bin/ncp
\ No newline at end of file
../@expo/ngrok-bin/bin/ngrok.js
\ No newline at end of file
../@babel/parser/bin/babel-parser.js
\ No newline at end of file
../pegjs/bin/pegjs
\ No newline at end of file
../qrcode-terminal/bin/qrcode-terminal.js
\ No newline at end of file
../raven/bin/raven
\ No newline at end of file
../react-native/local-cli/wrong-react-native.js
\ No newline at end of file
../react-native-scripts/build/bin/react-native-scripts.js
\ No newline at end of file
../regjsparser/bin/parser
\ No newline at end of file
../rimraf/bin.js
\ No newline at end of file
../sane/src/cli.js
\ No newline at end of file
../semver/bin/semver
\ No newline at end of file
../sshpk/bin/sshpk-conv
\ No newline at end of file
../sshpk/bin/sshpk-sign
\ No newline at end of file
../sshpk/bin/sshpk-verify
\ No newline at end of file
../tree-kill/cli.js
\ No newline at end of file
../uglify-es/bin/uglifyjs
\ No newline at end of file
../uuid/bin/uuid
\ No newline at end of file
../watch/cli.js
\ No newline at end of file
../which/bin/which
\ No newline at end of file
MIT License
Copyright (c) 2014-2018 Sebastian McKenzie <sebmck@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# @babel/code-frame
> Generate errors that contain a code frame that point to source locations.
See our website [@babel/code-frame](https://babeljs.io/docs/en/next/babel-code-frame.html) for more information.
## Install
Using npm: