flowbite-svelte icon indicating copy to clipboard operation
flowbite-svelte copied to clipboard

Choose alternative to <style> attribute for Tabs

Open Destaq opened this issue 11 months ago • 1 comments

Currently, Tabs (see here) uses a style attribute to decorate the tab to full / pill / underline / etc. It would probably be best to rename this to decoration, style_, or something else so that a default HTML attribute is not used.

This helps in avoiding editor issues and is a reasonable thing to do because it would allow for the setting of additional, customized styles without Tailwind (i.e. without activeClasses / inactiveClasses).

Destaq avatar Jul 10 '23 20:07 Destaq