2021-03-05 08:00:28 -05:00
|
|
|
import HotkeysModal from '../js/features/hotkeys-modal/components/hotkeys-modal'
|
2020-12-10 06:13:59 -05:00
|
|
|
|
2021-03-05 08:00:28 -05:00
|
|
|
export const ReviewEnabled = args => {
|
|
|
|
return <HotkeysModal {...args} />
|
|
|
|
}
|
|
|
|
|
|
|
|
export const ReviewDisabled = args => {
|
|
|
|
return <HotkeysModal {...args} trackChangesVisible={false} />
|
|
|
|
}
|
|
|
|
|
|
|
|
export const MacModifier = args => {
|
|
|
|
return <HotkeysModal {...args} isMac />
|
|
|
|
}
|
2020-12-10 06:13:59 -05:00
|
|
|
|
|
|
|
export default {
|
2021-03-25 06:11:45 -04:00
|
|
|
title: 'Modals / Hotkeys',
|
2021-03-05 08:00:28 -05:00
|
|
|
component: HotkeysModal,
|
2020-12-10 06:13:59 -05:00
|
|
|
args: {
|
2021-03-05 08:00:28 -05:00
|
|
|
animation: false,
|
|
|
|
show: true,
|
|
|
|
isMac: false,
|
2021-04-27 03:52:58 -04:00
|
|
|
trackChangesVisible: true,
|
2020-12-10 06:13:59 -05:00
|
|
|
},
|
|
|
|
argTypes: {
|
2021-04-27 03:52:58 -04:00
|
|
|
handleHide: { action: 'handleHide' },
|
|
|
|
},
|
2020-12-10 06:13:59 -05:00
|
|
|
}
|