D3vugu-components/components/view/code-inline.vugu
David Vogel e9c2353da3 Add utils package
- Add AttributesAppend type
- Add icon class and add styles to icons
- Change elements to use AttributesAppend in vg-attr
- Move example icons into their own component
2023-05-15 08:58:12 +02:00

16 lines
376 B
Plaintext

<span vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1634910850"}'><vg-comp expr="c.DefaultSlot"></vg-comp></span>
<style>
.d3c-1634910850 {
border-radius: 4px;
font-family: monospace;
background-color: RGBA(127, 127, 127, 0.1);
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
)
</script>