FPSMS-frontend
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ItemsSearchWrapper.tsx 694 B

vor 9 Monaten
vor 9 Monaten
vor 6 Monaten
vor 9 Monaten
12345678910111213141516171819202122232425262728
  1. import { fetchAllItems } from "@/app/api/settings/item";
  2. import ItemsSearch from "./ItemsSearch";
  3. import ItemsSearchLoading from "./ItemsSearchLoading";
  4. import { SearchParams } from "@/app/utils/fetchUtil";
  5. import { TypeEnum } from "@/app/utils/typeEnum";
  6. import { notFound } from "next/navigation";
  7. interface SubComponents {
  8. Loading: typeof ItemsSearchLoading;
  9. }
  10. type Props = {
  11. // type: TypeEnum;
  12. };
  13. const ItemsSearchWrapper: React.FC<Props> & SubComponents = async (
  14. {
  15. // type,
  16. },
  17. ) => {
  18. // console.log(type)
  19. // var result = await fetchAllItems()
  20. return <ItemsSearch items={[]} />;
  21. };
  22. ItemsSearchWrapper.Loading = ItemsSearchLoading;
  23. export default ItemsSearchWrapper;