import type { FC } from 'react'; import React, { Suspense } from 'react'; import { Skeleton } from 'antd'; import { createStyles } from 'antd-style'; import type { BehaviorMapProps } from './BehaviorMap'; const InternalBehaviorMap = React.lazy(() => import('./BehaviorMap')); const useStyle = createStyles(({ token, css }) => ({ fallback: css` width: 100%; > * { width: 100% !important; border-radius: ${token.borderRadiusLG}px; } `, placeholder: css` color: ${token.colorTextDescription}; font-size: ${token.fontSizeLG}px; `, })); const BehaviorMapFallback: React.FC = () => { const { styles } = useStyle(); return (