mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-10 10:25:03 +00:00
fix(plugin): support icon-only composer pills
Composer pills use an omitted label to fall back to the accessible title, but rejected every explicit no-label value. Preserve that omission default while representing null and empty labels as icon-only controls.
This commit is contained in:
@@ -32,8 +32,8 @@ export type PluginButtonMenuEntry =
|
||||
export interface PluginButton {
|
||||
title: string;
|
||||
icon: PluginButtonIcon;
|
||||
/** Omit for an icon-only header button. Composer pills use title when omitted. */
|
||||
label?: string;
|
||||
/** Omit to use the placement default. Pass null or an empty string for icon-only. */
|
||||
label?: string | null;
|
||||
visible?: boolean;
|
||||
disabled?: boolean;
|
||||
behavior: PluginButtonBehavior;
|
||||
|
||||
Reference in New Issue
Block a user