page RegionUnavailableAlertcomponent { seo { title = "RegionUnavailableAlert component" description = "Reusable region unavailable alert component." } view {
W WRNexusJS
feedback component

RegionUnavailableAlert

Reusable region unavailable alert component.

@wrnexus/ui 0.2.656 props1 slots0 events

Usage

Components are auto-discovered. Use the component directly in any .wrn view:

<RegionUnavailableAlert label="RegionUnavailable" title="title" description="description" value="value" variant="default" />

Legacy mount name: data-component="RegionUnavailableAlert".

Props and attributes

PropTypeRequirementDefault
labelstringOptional"RegionUnavailable"
titlestringOptional""
descriptionstringOptional""
valuestringOptional""
variantstringOptional"default"
classstringOptional""

Slots

  • default

Events

This component does not declare a custom event.

Source contract

Installed source: components/RegionUnavailableAlert.wrn

component RegionUnavailableAlert {
  props {
    label = "RegionUnavailable" 
    title = ""
    description = ""
    value = ""
    variant = "default"
    class = ""
  }
  view { <aside role="status" class="wire-alert wire-alert--{variant} wire-catalog-feedback {class}"><strong data-show="title || label">{title || label}</strong><span data-show="value" class="wire-badge wire-badge--{variant}">{value}</span><p data-show="description">{description}</p><slot /></aside> }
}
} }