Store the current form in the location hash.
[ustaxviewer.git] / src / App.tsx
1 // Copyright 2020 Blue Static <https://www.bluestatic.org>
2 // This program is free software licensed under the GNU General Public License,
3 // version 3.0. The full text of the license can be found in LICENSE.txt.
4 // SPDX-License-Identifier: GPL-3.0-only
5
6 import { TaxReturn } from 'ustaxlib/core';
7
8 import TaxReturnView from './TaxReturnView';
9
10 const S = require('./App.css');
11
12 interface Props {
13 tr: TaxReturn;
14 showForm?: string
15 onFormChange?: (formName: string) => void;
16 }
17
18 export default function App(props: Props) {
19 return (<div><TaxReturnView {...props} /></div>);
20 }