import React, { ReactElement } from "react"; import PullList from "../PullList/PullList"; import { Volumes } from "../Volumes/Volumes"; import WantedComics from "../WantedComics/WantedComics"; import { Library } from "./Library"; interface ITabulatedContentContainerProps { category: string; } /** * Component to draw the contents of a category in a table. * * @component * @example * return ( * * ) */ const TabulatedContentContainer = ( props: ITabulatedContentContainerProps, ): ReactElement => { const { category } = props; const renderTabulatedContent = () => { switch (category) { case "library": return ; case "pullList": return ; case "wanted": return ; case "volumes": return ; default: return <>; } }; return renderTabulatedContent(); // : ( //
//
//
//
//
//
// No comics were found in the library, and Elasticsearch doesn't have any // indices. Try resetting the library from Settings > Flush DB & Temporary Folders and then import your library again. //
//
//
  //             {!isUndefined(searchError.data) &&
  //               JSON.stringify(
  //                 searchError.data.meta.body.error.root_cause,
  //                 null,
  //                 4,
  //               )}
  //           
//
//
//
//
// ); }; export default TabulatedContentContainer;