import React from 'react';
import ListPageSkeleton, { PageHeaderSkeleton, ListToolbarSkeleton, ListSkeleton, ListSkeletonItem } from './List';
import ResultPageSkeleton from './Result';
import DescriptionsPageSkeleton, { TableItemSkeleton, DescriptionsSkeleton, TableSkeleton } from './Descriptions';
import './style';
import { jsx as _jsx } from "react/jsx-runtime";
const PageSkeleton = ({
  type = 'list',
  ...rest
}) => {
  if (type === 'result') {
    return /*#__PURE__*/_jsx(ResultPageSkeleton, {
      ...rest
    });
  }
  if (type === 'descriptions') {
    return /*#__PURE__*/_jsx(DescriptionsPageSkeleton, {
      ...rest
    });
  }
  return /*#__PURE__*/_jsx(ListPageSkeleton, {
    ...rest
  });
};
export { ListPageSkeleton, ListSkeleton, ListSkeletonItem, PageHeaderSkeleton, ListToolbarSkeleton, DescriptionsSkeleton, TableSkeleton, TableItemSkeleton };
export default PageSkeleton;