import type { IconType } from '@bentwnghk/icons'; import { css, cx, useTheme } from 'antd-style'; import { forwardRef, memo } from 'react'; import { Center } from 'react-layout-kit'; const container = css` circle { animation: bubble 1.5s cubic-bezier(0.05, 0.2, 0.35, 1) infinite; &:nth-child(2) { animation-delay: 0.3s; } &:nth-child(3) { animation-delay: 0.6s; } } @keyframes bubble { 0% { opacity: 1; } 25% { opacity: 0.5; } 75% { opacity: 0.25; } to { opacity: 1; } } `; const BubblesLoadingIcon: IconType = forwardRef( ({ size = '1em', style, className, ...rest }, ref) => { return ( ); }, ); const BubblesLoading = memo(() => { const theme = useTheme(); return (