File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
packages/web/src/views/Forms/EventForm Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 11import React from "react" ;
22import styled from "styled-components" ;
3+ import { getMetaKey } from "@web/common/utils/shortcut.util" ;
4+ import { Text } from "@web/components/Text" ;
35import TooltipIconButton from "@web/components/TooltipIconButton/TooltipIconButton" ;
46
57const StyledMigrateBackwardButton = styled . div `
@@ -27,6 +29,11 @@ export const MigrateBackwardButton = ({
2729 tooltipProps = { {
2830 description : tooltipText ,
2931 onClick,
32+ shortcut : (
33+ < Text size = "s" style = { { display : "flex" , alignItems : "center" } } >
34+ Ctrl + { getMetaKey ( ) } + Left
35+ </ Text >
36+ ) ,
3037 } }
3138 />
3239 ) ;
Original file line number Diff line number Diff line change 11import React from "react" ;
22import styled from "styled-components" ;
3+ import { getMetaKey } from "@web/common/utils/shortcut.util" ;
4+ import { Text } from "@web/components/Text" ;
35import TooltipIconButton from "@web/components/TooltipIconButton/TooltipIconButton" ;
46
57const StyledMigrateForwardButton = styled . div `
@@ -27,6 +29,11 @@ export const MigrateForwardButton = ({
2729 tooltipProps = { {
2830 description : tooltipText ,
2931 onClick,
32+ shortcut : (
33+ < Text size = "s" style = { { display : "flex" , alignItems : "center" } } >
34+ Ctrl + { getMetaKey ( ) } + Right
35+ </ Text >
36+ ) ,
3037 } }
3138 />
3239 ) ;
You can’t perform that action at this time.
0 commit comments