mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
25 lines
579 B
JavaScript
25 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' }
|
||
|
}
|
||
|
}
|