import React from 'react' import DownloadHandler from '../utils/download' import { ModHeader } from './components/mods/ModHeader' import { ModList } from './components/mods/ModList' import TopBar from './components/TopBar' import './Mods.css' interface IProps { downloadHandler: DownloadHandler } interface IState { isDownloading: boolean category: string } const headers = [ { name: 'hot', title: 'Hot', }, { name: 'new', title: 'New', }, ] export class Mods extends React.Component { constructor(props: IProps) { super(props) this.state = { isDownloading: false, category: '', } } async componentDidMount() { return } async setCategory(value: string) { this.setState({ category: value, }) } render() { return (
) } }