@lax-wp/design-system 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/buttons/option-button/OptionButton.d.ts +2 -0
- package/dist/index.es.js +1031 -1029
- package/dist/index.umd.js +37 -37
- package/package.json +1 -1
|
@@ -43,6 +43,8 @@ export interface OptionButtonProps {
|
|
|
43
43
|
tooltip?: string;
|
|
44
44
|
/** Whether the flow is available (controls button enabled state) */
|
|
45
45
|
isFlowAvailable?: boolean;
|
|
46
|
+
/** Array of keyboard shortcut keys to display inline in the button (e.g., ['Meta', 'S'] or ['Ctrl', 'Enter']) */
|
|
47
|
+
shortcuts?: string[];
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
48
50
|
* OptionButton component provides a flexible button for lists, menus, and option selections.
|