import { capitalize } from "lodash"; import React, { FunctionComponent } from "react"; import { Container, Row } from "react-bootstrap"; import { Helmet } from "react-helmet"; import { Column, TableUpdater } from "react-table"; import { AsyncStateOverlay, PageTable } from "../../components"; interface Props { type: "movies" | "series"; state: Readonly>; columns: Column[]; tableUpdater?: TableUpdater; } const HistoryGenericView: FunctionComponent = ({ state, columns, type, tableUpdater, }) => { const typeName = capitalize(type); return ( {typeName} History - Bazarr {(data) => ( )} ); }; export default HistoryGenericView;