AutoGrid
Reusable auto grid component.
Usage
Components are auto-discovered. Use the component directly in any .wrn view:
<AutoGrid />Legacy mount name: data-component="AutoGrid".
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/AutoGrid.wrn
component AutoGrid {
props {
class = ""
}
view {
<div class="wire-auto-grid {class}">
<slot />
</div>
}
}