Evertras / bubble-table

A customizable, interactive table component for the Bubble Tea framework
MIT License
455 stars 27 forks source link

Send highlighted status to row style func #177

Closed Evertras closed 5 months ago

Evertras commented 5 months ago

https://github.com/Evertras/bubble-table/issues/173

The highlighted row style was not being applied properly with the new style func. In hindsight, this is going to be very difficult to properly do, because a highlighted row may need to look different depending on whether it's a zebra stripe, etc. Therefore, we can just pass the input as a bool to the style func and let the user decide what a highlighted row needs to look like there.