2020-12-10 06:13:59 -05:00
|
|
|
import React from 'react'
|
|
|
|
|
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,
|
2020-12-10 06:13:59 -05:00
|
|
|
trackChangesVisible: true
|
|
|
|
},
|
|
|
|
argTypes: {
|
|
|
|
handleHide: { action: 'handleHide' }
|
|
|
|
}
|
|
|
|
}
|