Skip to content

SkeletonProps

Defined in: react.core.tsx:9

Props accepted by the React <Skeleton> component.

optional children?: ReactNode

Defined in: react.core.tsx:21

Real content. In dev, these children are also the capture source once ready.


optional delay?: number

Defined in: react.core.tsx:19

Override the plugin’s settle delay before this site is captured (dev only).


optional fallback?: ReactNode

Defined in: react.core.tsx:17

Shown while loading when the plate has no capture yet.


optional loading?: boolean

Defined in: react.core.tsx:13

Explicit readiness mode: render the Skeleton while true, then render children and capture them in dev when false.


plate: Plate

Defined in: react.core.tsx:11

The plate to render while loading, imported from virtual:xray/plates/<name>.


optional suspense?: boolean

Defined in: react.core.tsx:15

Suspense mode: make <Skeleton> the Suspense boundary and use the Plate as the fallback until children resolve.