Execute the following command in the terminal to install the Ant Design component library:
npm i antd<demo react="antd.tsx" stackblitz="true" codesandbox="true" />The rendering result is as follows:
import React from 'react';
import { Button, Flex } from 'antd';
const App: React.FC = () => (
<Flex gap="small" wrap>
<Button type="primary">Primary Button</Button>
<Button>Default Button</Button>
<Button type="dashed">Dashed Button</Button>
<Button type="text">Text Button</Button>
<Button type="link">Link Button</Button>
</Flex>
);
export default App;