mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
9daa8f5d98
[web] rename all the JSX files to .jsx/.tsx GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
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' },
|
|
},
|
|
}
|