FPSMS-frontend
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

RoughScheduleSettingWrapper.tsx 765 B

1234567891011121314151617181920212223
  1. import { fetchAllItems, } from "@/app/api/settings/item";
  2. import {RoughScheduleLoading} from "./RoughScheduleLoading";
  3. import RSSOverview from "@/components/RoughScheduleSetting/RoughScheduleSetting";
  4. interface SubComponents {
  5. Loading: typeof RoughScheduleLoading;
  6. }
  7. type Props = {
  8. // type: TypeEnum;
  9. };
  10. const RoughScheduleSettingWrapper: ({}: {}) => Promise<JSX.Element> = async ({
  11. // type,
  12. }) => {
  13. // console.log(type)
  14. var result = await fetchAllItems()
  15. return <RSSOverview items={result} />;
  16. };
  17. RoughScheduleSettingWrapper.Loading = RoughScheduleLoading;
  18. export default RoughScheduleSettingWrapper;