I need to change the admin tab template by adding my wrapper and class to it.
This is the default code:
<li{{ attributes.addClass(is_active ? 'is-active') }}>{{ link }}</li>
My code:
<div {{ .attributes.addClass(is_active ? 'DefTabs__tabItem--active') }}>{{ link }}</div>
Currently, the "DefTabs__tabItem--active" class is added to the active link, but I need to add an additional CSS class "DefTabs__tabItem" to each DIV element. How can I do this?