intiial layout

This commit is contained in:
Kujtim Hoxha
2025-04-11 18:54:13 +02:00
parent 6b1c64bcc7
commit 23e7a95083
12 changed files with 640 additions and 28 deletions

View File

@@ -151,7 +151,7 @@ func NewSinglePane(content tea.Model, opts ...SinglePaneOption) SinglePaneLayout
return layout
}
func WithSignlePaneSize(width, height int) SinglePaneOption {
func WithSinglePaneSize(width, height int) SinglePaneOption {
return func(opts *singlePaneLayout) {
opts.width = width
opts.height = height
@@ -170,7 +170,7 @@ func WithSinglePaneBordered(bordered bool) SinglePaneOption {
}
}
func WithSignlePaneBorderText(borderText map[BorderPosition]string) SinglePaneOption {
func WithSinglePaneBorderText(borderText map[BorderPosition]string) SinglePaneOption {
return func(opts *singlePaneLayout) {
opts.borderText = borderText
}