export the controlOrMetaKey fn from manager-api

This commit is contained in:
winkerVSbecks 2022-11-25 13:17:25 -05:00
parent 889d8f4036
commit 557a6dba5c

View File

@ -64,7 +64,7 @@ import * as url from './modules/url';
import * as version from './modules/versions';
// eslint-disable-next-line import/no-cycle
import * as globals from './modules/globals';
import { eventToShortcut, shortcutMatchesShortcut, shortcutToHumanString } from './lib/shortcut';
import { controlOrMetaKey, eventToShortcut, shortcutMatchesShortcut, shortcutToHumanString } from './lib/shortcut';
const { ActiveTabs } = layout;
@ -482,7 +482,7 @@ export function useArgTypes(): API_ArgTypes {
return (current?.type === 'story' && current.argTypes) || {};
}
export { eventToShortcut, shortcutToHumanString, shortcutMatchesShortcut };
export { controlOrMetaKey, eventToShortcut, shortcutToHumanString, shortcutMatchesShortcut };
export { addons } from './lib/addons';