ant-design/.dumi/theme/builtins/Previewer/index.tsx
2023-08-21 14:38:22 +08:00

11 lines
267 B
TypeScript

import React, { Suspense } from 'react';
import type { IPreviewerProps } from 'dumi';
const Previewer = React.lazy(() => import('./Previewer'));
export default (props: IPreviewerProps) => (
<Suspense fallback={null}>
<Previewer {...props} />
</Suspense>
);