File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
packages/app/src/app/pages
Sandbox/Editor/ForkFrozenSandboxModal Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11import Modal from 'app/components/Modal' ;
22import { withTheme } from 'styled-components' ;
3- import { ThemeProvider } from '@codesandbox/components' ;
3+ import { ThemeProvider , Stack , Text } from '@codesandbox/components' ;
44import { Alert } from 'app/pages/common/Modals/Common/Alert' ;
55import { useOvermind } from 'app/overmind' ;
66import React , { FunctionComponent } from 'react' ;
77import useKeyPressEvent from 'react-use/lib/useKeyPressEvent' ;
8+ import ReturnIcon from 'react-icons/lib/md/keyboard-return' ;
89
910const ModalContent : React . FC = ( ) => {
1011 const {
@@ -45,7 +46,12 @@ const ModalContent: React.FC = () => {
4546 onCancel = { unlock }
4647 cancelMessage = "Unfreeze"
4748 onPrimaryAction = { fork }
48- confirmMessage = "Fork"
49+ confirmMessage = {
50+ < Stack gap = { 2 } align = "center" >
51+ < Text size = { 3 } > Fork</ Text >
52+ < ReturnIcon />
53+ </ Stack >
54+ }
4955 />
5056 ) ;
5157} ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ type Props = {
66 onCancel ?: ( ) => void ;
77 onPrimaryAction ?: ( ) => void ;
88 cancelMessage ?: string ;
9- confirmMessage ?: string ;
9+ confirmMessage ?: string | React . ReactNode ;
1010 title ?: string ;
1111 description ?: string | React . ReactNode ;
1212 type ?: 'link' | 'primary' | 'danger' | 'secondary' ;
You can’t perform that action at this time.
0 commit comments