2020-12-10 11:13:59 +00:00
|
|
|
import React from 'react'
|
|
|
|
|
2021-03-05 13:00:28 +00:00
|
|
|
import HotkeysModal from '../js/features/hotkeys-modal/components/hotkeys-modal'
|
2020-12-10 11:13:59 +00:00
|
|
|
|
2021-03-05 13:00:28 +00: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 11:13:59 +00:00
|
|
|
|
|
|
|
export default {
|
2021-03-25 10:11:45 +00:00
|
|
|
title: 'Modals / Hotkeys',
|
2021-03-05 13:00:28 +00:00
|
|
|
component: HotkeysModal,
|
2020-12-10 11:13:59 +00:00
|
|
|
args: {
|
2021-03-05 13:00:28 +00:00
|
|
|
animation: false,
|
|
|
|
show: true,
|
|
|
|
isMac: false,
|
2020-12-10 11:13:59 +00:00
|
|
|
trackChangesVisible: true
|
|
|
|
},
|
|
|
|
argTypes: {
|
|
|
|
handleHide: { action: 'handleHide' }
|
|
|
|
}
|
|
|
|
}
|