@primer/react
Version:
An implementation of GitHub's Primer Design System using React
12 lines • 484 B
TypeScript
//#region src/KeybindingHint/platform.d.ts
/**
* The platform categories that affect how keyboard shortcut keys are displayed.
*
* - `apple`: Apple platforms (macOS and iOS/iPadOS), which use the Command and Option keys.
* - `windows`: Windows, which uses the Windows (Meta) key.
* - `other`: Any other platform (e.g. Linux, Android), where the Meta key does not map to a
* consistent label.
*/
type Platform = 'apple' | 'windows' | 'other';
//#endregion
export { Platform };