29 lines
583 B
Plaintext
29 lines
583 B
Plaintext
<div vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1683741854 d3c-color-layer-1"}'>
|
|
<vg-comp expr="c.DefaultSlot"></vg-comp>
|
|
</div>
|
|
|
|
<style>
|
|
.d3c-1683741854 {
|
|
border-radius: 4px;
|
|
overflow: auto;
|
|
padding: 0.5em;
|
|
margin: 1em 0;
|
|
font-family: monospace;
|
|
background-color: var(--d3c-color-background);
|
|
color: var(--d3c-color-text);
|
|
}
|
|
</style>
|
|
|
|
<script type="application/x-go">
|
|
import (
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
"github.com/vugu/vugu"
|
|
)
|
|
|
|
type Code struct {
|
|
AttrMap vugu.AttrMap
|
|
|
|
DefaultSlot vugu.Builder
|
|
}
|
|
</script>
|