SkeletonProps
Defined in: react.core.tsx:9
Props accepted by the React <Skeleton> component.
Properties
Section titled “Properties”children?
Section titled “children?”
optionalchildren?:ReactNode
Defined in: react.core.tsx:21
Real content. In dev, these children are also the capture source once ready.
delay?
Section titled “delay?”
optionaldelay?:number
Defined in: react.core.tsx:19
Override the plugin’s settle delay before this site is captured (dev only).
fallback?
Section titled “fallback?”
optionalfallback?:ReactNode
Defined in: react.core.tsx:17
Shown while loading when the plate has no capture yet.
loading?
Section titled “loading?”
optionalloading?: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>.
suspense?
Section titled “suspense?”
optionalsuspense?:boolean
Defined in: react.core.tsx:15
Suspense mode: make <Skeleton> the Suspense boundary and use the Plate as the fallback until children resolve.