package
0.0.0-20240829105805-96d23e7df057
Repository: https://github.com/zeim839/mailbox.git
Documentation: pkg.go.dev

# Functions

DefaultKeyMap returns a default set of keybindings.
DefaultStyles returns a set of default style definitions for this table.
New creates a new model for the table widget.
WithColumns sets the table columns (headers).
WithDeleteFn sets the deletion callback.
WithFocused sets the focus state of the table.
WithHeight sets the height of the table.
WithKeyMap sets the key map.
WithRefreshFn sets the refresh callback.
WithRows sets the table rows (data).
WithStyleFunc sets the table style func which can determine a cell style per column, row, and selected state.
WithStyles sets the table styles.
WithWidth sets the width of the table.

# Structs

Column defines the table structure.
KeyMap defines keybindings.
Model defines a state for the table widget.
Styles contains style definitions for this list component.

# Type aliases

DeleteFn is a function that deletes rows.
Option is used to set options in New.
RefreshFn is a function that refreshes the available rows.
Row represents one line in the table.
StyleFunc is a function that can be used to customize the style of a table cell based on the row and column index.