Evertras / bubble-table

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

Send highlighted status to row style func #177

Closed Evertras closed 3 months ago

Evertras commented 3 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.