-
This used to work in v4 but it doesn't in v5 and currently I can't even find it in documentation... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Basically in daisyUI 3, the style was more complicated and we couldn't simply use v4 docs: https://daisyui.com/components/table/#table-with-an-active-row Let me know if you have a question. |
Beta Was this translation helpful? Give feedback.
active
class name was deprecated after daisyUI 3 (last year). And it was removed from docs since last year, in favor of using anybg-*
class instead.I didn't remove it immediately in daisyUI 4 (last year) because of backward compatibility.
Basically in daisyUI 3, the style was more complicated and we couldn't simply use
bg-*
class names.It got simpler in daisyUI 4 (last year release), so instead of a new class name, we can just use
bg-base-200
to get the same result (or any other color)v4 docs: https://daisyui.com/components/table/#table-with-an-active-row
v5 docs: https://v5.daisyui.com/components/table/#table-with-an-active-row
Let me know if you have a question.