import type { FlexProps } from 'antd5'; import { Flex as Flex5 } from 'antd5'; const Flex = (props: FlexProps) => { const { children, align = 'center', justify = 'space-between', ...restProps } = props; return ( {children} ); }; export default Flex;