actual/packages/desktop-client/src/components/reports/index.js
Tom French dc53a74459
Separate external, monorepo and internal imports (#237)
* style: enforce ordering of imports

* style: sort imports in loot-core

* style: sort imports in desktop-client

* style: sort imports in loot-design

* style: manual fixes
2022-09-02 12:43:37 +01:00

23 lines
589 B
JavaScript

import React from 'react';
import { Route } from 'react-router-dom';
import { View } from 'loot-design/src/components/common';
import Overview from './Overview';
import NetWorth from './NetWorth';
import CashFlow from './CashFlow';
class Reports extends React.Component {
render() {
return (
<View style={{ flex: 1 }}>
<Route path="/reports" exact component={Overview} />
<Route path="/reports/net-worth" exact component={NetWorth} />
<Route path="/reports/cash-flow" exact component={CashFlow} />
</View>
);
}
}
export default Reports;