import React from 'react' ; import { Router } from '@reach/router' ; import MainLayout from './layouts/Main' ; import routes from './routes' ; import { tabs } from './data' ; import contactData from './data/json/contact.json' ; const App = ( ) => ( < MainLayout tabs = { tabs } contactData = { contactData } > < Router > { routes } < /Router> < /MainLayout>); export default App ;