Skip to main content
BackgroundComponentProps
Props for the background component. type defines the type of background to render, and each background type has its own set of options.
NameTypeDescription
onBackgroundReady?OnBackgroundReadyCallbackOptional function to call when the image has loaded (or otherwise claims to be ready)
typestringType of background to render.
visible?booleanWhether or not the background should initially be visible. Defaults to true.