refactor(table): remove uneeded extra args from NewFromTemplate

This commit is contained in:
Andrey Nering
2025-05-29 18:01:52 -03:00
parent fe39af2a4d
commit aa84c7f57b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ func DefaultStyles() Styles {
// NewFromTemplate lets you create a table [Model] from Lip Gloss'
// [table.Table].
func NewFromTemplate(t *table.Table, headers []string, rows [][]string) *Model {
func NewFromTemplate(t *table.Table) *Model {
return &Model{
cursor: 0,
KeyMap: DefaultKeyMap(),