"chore: add barcode scanner and clipboard plugins, update dev script to use yarn, and add new demo pages"
This commit is contained in:
27
03_source/mobile/src/pages/DemoQuoteApp/index.tsx
Normal file
27
03_source/mobile/src/pages/DemoQuoteApp/index.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
import { Route, Redirect } from 'react-router';
|
||||
//
|
||||
import Quote from './AppPages/Quote';
|
||||
import Saved from './AppPages/Saved';
|
||||
import Home from './AppPages/Home';
|
||||
//
|
||||
const DemoQuoteApp = () => {
|
||||
return (
|
||||
<>
|
||||
<Route path="/demo-quote-app/home" exact={true}>
|
||||
<Home />
|
||||
</Route>
|
||||
|
||||
<Route path="/demo-quote-app/quote/:id" exact={true}>
|
||||
<Quote />
|
||||
</Route>
|
||||
|
||||
<Route path="/demo-quote-app/saved" exact={true}>
|
||||
<Saved />
|
||||
</Route>
|
||||
|
||||
<Redirect path="/demo-quote-app" exact={true} to="/demo-quote-app/home" />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default DemoQuoteApp;
|
Reference in New Issue
Block a user