FPSMS-frontend
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.tsx 420 B

2 달 전
2 달 전
1234567891011121314151617
  1. import GeneralLoading from "../General/GeneralLoading";
  2. import SearchPage from "./SearchPage";
  3. import { fetchList } from "@/app/api/stockIssue/actions";
  4. interface SubComponents {
  5. Loading: typeof GeneralLoading;
  6. }
  7. const Wrapper: React.FC & SubComponents = async () => {
  8. const dataList = await fetchList();
  9. return <SearchPage dataList={dataList} />;
  10. };
  11. Wrapper.Loading = GeneralLoading;
  12. export default Wrapper;