mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
d319fe72a9
GitOrigin-RevId: 0d7702289870a1074cdf4bd907b55fa6f32b8457
12 lines
281 B
TypeScript
12 lines
281 B
TypeScript
import { FC, ComponentProps, Suspense } from 'react'
|
|
|
|
const style = { width: 785, height: 785 }
|
|
|
|
export const TestContainer: FC<ComponentProps<'div'>> = ({
|
|
children,
|
|
...rest
|
|
}) => (
|
|
<div style={style} {...rest}>
|
|
<Suspense fallback={null}>{children}</Suspense>
|
|
</div>
|
|
)
|