Bootstrap saved state from ProxiFyre config

This commit is contained in:
2026-07-08 10:34:40 +03:00
parent c5120669d2
commit e745633d91
6 changed files with 364 additions and 25 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ export function IconButton({
title,
...props
}: IconButtonProps) {
const tooltip = title === '' ? undefined : title ?? label;
const classes = [
'ui-icon-button',
`ui-icon-button--${variant}`,
@@ -32,7 +33,7 @@ export function IconButton({
type={props.type ?? 'button'}
className={classes}
aria-label={label}
title={title ?? label}
data-tooltip={tooltip}
disabled={disabled || loading}
>
{loading ? <span className="ui-button-spinner" aria-hidden="true" /> : icon}