2022-04-29 02:44:38 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { Route } from 'react-router-dom';
|
2022-09-02 11:43:37 +00:00
|
|
|
|
2022-04-29 02:44:38 +00:00
|
|
|
import { View } from 'loot-design/src/components/common';
|
2022-09-02 11:43:37 +00:00
|
|
|
|
2022-04-29 02:44:38 +00:00
|
|
|
import CashFlow from './CashFlow';
|
2022-09-02 14:07:24 +00:00
|
|
|
import NetWorth from './NetWorth';
|
|
|
|
import Overview from './Overview';
|
2022-04-29 02:44:38 +00:00
|
|
|
|
|
|
|
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;
|