ant-design/.dumi/theme/common/ComponentChangelog/index.tsx
MadCcc d1f8b500df
perf: better async component (#43982)
* perf: better async component

* feat: useFetch

* chore: code clean

* chore: code clean

* chore: fix lint

* type: enhance
2023-08-03 14:45:51 +08:00

10 lines
301 B
TypeScript

import React from 'react';
import type { ComponentChangelogProps } from './ComponentChangelog';
import ComponentChangelog from './ComponentChangelog';
export default (props: ComponentChangelogProps) => (
<React.Suspense fallback={null}>
<ComponentChangelog {...props} />
</React.Suspense>
);