mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 16:01:47 +00:00
199ab985a0
Reorganise Storybook Stories GitOrigin-RevId: 91014f49f84c645f87091724f03a007b731a8ad5
27 lines
596 B
JavaScript
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' },
|
|
},
|
|
}
|