overleaf/services/web/frontend/stories/hotkeys-modal.stories.jsx
Jakob Ackermann 9daa8f5d98 Merge pull request #15040 from overleaf/jpa-js-to-jsx
[web] rename all the JSX files to .jsx/.tsx

GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +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' },
},
}