overleaf/services/web/frontend/stories/hotkeys-modal.stories.js
Alf Eaton 771a39f267 Merge pull request #3441 from overleaf/3803-hotkeys-modal
Migrate hotkeys modal to React

GitOrigin-RevId: 78399d3d62771cd296bdc2f4f8b1083263d31551
2020-12-11 03:04:42 +00:00

24 lines
579 B
JavaScript

import React from 'react'
import HotkeysModalContent from '../js/features/hotkeys-modal/components/hotkeys-modal-content'
// NOTE: HotkeysModalContent is wrapped in modal classes, without modal behaviours
export const Basic = args => (
<div className="modal-lg modal-dialog">
<div className="modal-content">
<HotkeysModalContent {...args} />
</div>
</div>
)
export default {
title: 'Hotkeys Modal',
component: HotkeysModalContent,
args: {
isMac: true,
trackChangesVisible: true
},
argTypes: {
handleHide: { action: 'handleHide' }
}
}