class RatatuiRuby::List

A widget that displays a list of selectable items.

items

An array of strings to display in the list.

selected_index

The index of the currently selected item, or nil if none.

block

An optional Block widget to wrap the list.