Shortcut
Interfaces
ShortcutProps
Properties
Property | Type | Description | Defined in |
---|---|---|---|
keys | string [] | The array of shortcut keys. | manager/components/Shortcut.tsx:6 |
size? | Responsive <"2" | "1" | "3" | "4" | "5" | "6" | "7" | "8" | "9" > | The size of the shortcut display. | manager/components/Shortcut.tsx:8 |
Functions
default()
default(
__namedParameters
):Element
The shortcut display component.
Each key will be displayed as a keyboard element, joint by a plus sign. They will be wrapped in a flex box with default gap size 1. All flex box props can be passed to this component to further customize the display layout.
Parameters
Parameter | Type |
---|---|
__namedParameters | ShortcutProps & ComponentPropsWithoutRef <ForwardRefExoticComponent <FlexProps & RefAttributes<HTMLDivElement>>> |
Returns
Element