/*! Strand UI | MIT License | dillingerstaffing.com */ import type { JSX } from "preact"; import { forwardRef } from "preact/compat"; import { cx } from "../../internal/index.js"; export interface MapLoadingProps extends JSX.HTMLAttributes { /** Showing; it fades rather than unmounts, so keep it mounted and flip this. */ visible?: boolean; /** Caption in instrument voice. */ text?: string; className?: string; } /** * The screen that covers an instrument viewport while it boots. * * @example * */ export const MapLoading = forwardRef( ({ visible = true, text = "Processing", className = "", ...rest }, ref) => (