page switching with custom event

This commit is contained in:
SpikeHD
2022-07-21 23:12:24 -07:00
parent 011b15c8d9
commit 7ad1c4649c
6 changed files with 102 additions and 36 deletions

29
src/ui/Mods.tsx Normal file
View File

@@ -0,0 +1,29 @@
import React from 'react'
import DownloadHandler from '../utils/download'
import TopBar from './components/TopBar'
interface IProps {
downloadHandler: DownloadHandler
}
interface IState {
isDownloading: boolean
}
export class Mods extends React.Component<IProps, IState> {
constructor(props: IProps) {
super(props)
}
async componentDidMount() {
return
}
render() {
return (
<>
<TopBar />
</>
)
}
}