D3vugu-components/components/layout/list-container.vugu

30 lines
534 B
Plaintext
Raw Normal View History

<div vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1684350837"}'>
<vg-comp expr="c.DefaultSlot"></vg-comp>
</div>
<style>
.d3c-1684350837 {
display: flex;
flex-direction: column;
gap: 0.25em;
margin: 0.5em 0;
}
.d3c-1684350837 > * {
margin: 0 !important;
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
"github.com/vugu/vugu"
)
type ListContainer struct {
AttrMap vugu.AttrMap
DefaultSlot vugu.Builder `vugu:"data"`
}
</script>