13 lines
250 B
Plaintext
13 lines
250 B
Plaintext
|
package templates
|
||
|
|
||
|
// columns takes components and arranges them in columns
|
||
|
templ columns(columns ...templ.Component) {
|
||
|
<div class="columns is-centered">
|
||
|
for _, column := range columns {
|
||
|
<div class="column">
|
||
|
@column
|
||
|
</div>
|
||
|
}
|
||
|
</div>
|
||
|
}
|