overleaf/services/web/frontend/stories/hotkeys-modal.stories.js
Alf Eaton 199ab985a0 Merge pull request #7223 from overleaf/ta-storybook-organise
Reorganise Storybook Stories

GitOrigin-RevId: 91014f49f84c645f87091724f03a007b731a8ad5
2022-04-05 12:16:53 +00:00

27 lines
596 B
JavaScript

import HotkeysModal from '../js/features/hotkeys-modal/components/hotkeys-modal'
export const ReviewEnabled = args => {
return <HotkeysModal {...args} />
}
export const ReviewDisabled = args => {
return <HotkeysModal {...args} trackChangesVisible={false} />
}
export const MacModifier = args => {
return <HotkeysModal {...args} isMac />
}
export default {
title: 'Editor / Modals / Hotkeys',
component: HotkeysModal,
args: {
animation: false,
show: true,
isMac: false,
trackChangesVisible: true,
},
argTypes: {
handleHide: { action: 'handleHide' },
},
}