chore(breadcrumb): add text span for hiding them at some point

This commit is contained in:
Elian Doran 2025-12-14 11:47:18 +02:00
parent d2da1ed1e7
commit be923ad2b7
No known key found for this signature in database

View File

@ -93,7 +93,7 @@ function StatusBarDropdown({ children, icon, text, buttonClassName, titleOptions
}} }}
text={<> text={<>
{icon && (<><Icon icon={icon} />&nbsp;</>)} {icon && (<><Icon icon={icon} />&nbsp;</>)}
{text} <span className="text">{text}</span>
</>} </>}
{...dropdownProps} {...dropdownProps}
> >
@ -138,7 +138,7 @@ function StatusBarButton({ className, icon, text, title, active, ...restProps }:
} }
}} }}
> >
<Icon icon={icon} />&nbsp;{text} <Icon icon={icon} />&nbsp;<span className="text">{text}</span>
</button> </button>
); );
} }