ant-design/components/spin/demo/size.tsx
lijianan 99faed814a
demo: update Spin demo layout to Flex Component (#45577)
Signed-off-by: lijianan <574980606@qq.com>
2023-11-01 22:26:02 +08:00

13 lines
229 B
TypeScript

import React from 'react';
import { Flex, Spin } from 'antd';
const App: React.FC = () => (
<Flex align="center" gap="middle">
<Spin size="small" />
<Spin />
<Spin size="large" />
</Flex>
);
export default App;