actual/packages/desktop-client/src/components/reports/index.js

23 lines
589 B
JavaScript
Raw Normal View History

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