refactor(platform): 统一控件 - 统一输入按钮与图标控件样式表现
This commit is contained in:
@@ -259,6 +259,7 @@ function DockCommandButton({ command, mouseX, metrics, motionEnabled, compact, s
|
||||
type="button"
|
||||
aria-label={command.label}
|
||||
title={nativeTitle}
|
||||
data-icon-only
|
||||
aria-expanded={command.expands ? command.active || undefined : undefined}
|
||||
aria-pressed={command.expands ? undefined : command.active || undefined}
|
||||
disabled={command.disabled}
|
||||
|
||||
Reference in New Issue
Block a user