mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 19:35:04 -05:00
13 lines
281 B
TypeScript
13 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>
|
||
|
)
|