mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 17:09:46 +08:00
d1f8b500df
* perf: better async component * feat: useFetch * chore: code clean * chore: code clean * chore: fix lint * type: enhance
10 lines
301 B
TypeScript
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>
|
|
);
|