/*
 * Runtime Web – Unified Serverless Framework for Full-Stack TypeScript Applications
 * Documentation: https://runtimeweb.com/docs/getting-started
 *
 * @template: advanced
 */

import * as React from 'react';
import { RuntimeRouterProvider } from '@worktif/runtime';

interface AppProps {
  router: any;
}

/**
 * Root application component that wraps the router provider
 */
const App: React.FC<AppProps> = ({ router }) => {
  return (
    <div className="app">
      <RuntimeRouterProvider router={router}/>
    </div>
  );
};

export default App;
