Well
Reusable well component.
Usage
Components are auto-discovered. Use the component directly in any .wrn view:
<Well />Legacy mount name: data-component="Well".
Props and attributes
| Prop | Type | Requirement | Default |
|---|---|---|---|
class | string | Optional | "" |
Slots
default
Events
This component does not declare a custom event.
Source contract
Installed source: components/Well.wrn
component Well {
props {
class = ""
}
view {
<div class="wire-well {class}">
<slot />
</div>
}
}