feat: Adds stacks, working on styles

This commit is contained in:
2024-12-04 10:40:39 -05:00
parent 46c2c7ad31
commit 10119c3e51
12 changed files with 232 additions and 107 deletions

View File

@@ -15,7 +15,11 @@ public struct ShellCommand<Content: TextNode>: TextNode {
self.content = content()
}
@inlinable
public var body: some TextNode {
Group(separator: " ", content: [symbol, content])
HStack {
symbol
content
}
}
}