mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-08 14:16:08 +00:00
chore: tidy comments
This commit is contained in:
@@ -250,8 +250,6 @@ func WithHeaders(headers ...string) Option {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO andrey confirm this... I'm pretty sure that's how it's working now
|
||||
//
|
||||
// WithHeight sets the height of the table. The given height will be the total
|
||||
// table height including borders, margins, and padding. This function is used
|
||||
// as an [Option] in when creating a table with [New].
|
||||
|
||||
@@ -90,12 +90,6 @@ func TestTableAlignment(t *testing.T) {
|
||||
golden.RequireEqual(t, []byte(biscuits.View()))
|
||||
})
|
||||
t.Run("With border", func(t *testing.T) {
|
||||
// TODO how do we style header border?
|
||||
// s.Header = s.Header.
|
||||
// BorderStyle(lipgloss.NormalBorder()).
|
||||
// BorderForeground(lipgloss.Color("240")).
|
||||
// Bold(false)
|
||||
|
||||
biscuits := New(
|
||||
WithHeaders(headers...),
|
||||
WithRows(rows...),
|
||||
|
||||
Reference in New Issue
Block a user