flowbite-svelte
flowbite-svelte copied to clipboard
Choose alternative to <style> attribute for Tabs
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
).