wrap indicator for grid

This commit is contained in:
2025-02-23 18:58:32 -05:00
parent 84d21239ed
commit 4950695388
8 changed files with 91 additions and 39 deletions

21
src/rt/elements/layout.ts Normal file
View File

@ -0,0 +1,21 @@
import create from "./create"
const layout = (type: string) => create("div", type)
function horizontal_wrap() {
return layout("stdout-horizontal-wrap")
}
function horizontal() {
return layout("stdout-horizontal")
}
function vertical() {
return layout("stdout-vertical")
}
export {
horizontal_wrap,
horizontal,
vertical
}