| 123456789101112131415161718192021222324252627282930313233343536373839 |
- import React from 'react';
- /**
- *
- * @export
- * @extends {React.Component}
- */
- export default class ShowHotkeys extends React.Component {
- // when this is called it returns the hotkey stroke
- static getHotkeyStroke() {
- return {
- stroke: ['/'],
- ctrlKey: true,
- metaKey: true,
- altKey: false,
- shiftKey: false,
- };
- }
- static getComponent() {
- return <ShowHotkeys />;
- }
- componentDidMount() {
- // show modal to create a page
- $('#shortcuts-modal').modal('toggle');
- return null;
- }
- render() {
- return (
- <React.Fragment>
- </React.Fragment>
- );
- }
- }
|