File tree Expand file tree Collapse file tree 5 files changed +38
-57
lines changed Expand file tree Collapse file tree 5 files changed +38
-57
lines changed Original file line number Diff line number Diff line change
1
+ # ReacType
2
+ Prototyping Tool for React/Typescript Applications
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -86,35 +86,27 @@ const createWindow = () => {
86
86
openFile ( ) ;
87
87
} ,
88
88
} ,
89
- {
90
- label : 'Export Components' ,
91
- accelerator : process . platform === 'darwin' ? 'Cmd+E' : 'Ctrl+Shift+E' ,
92
- click ( ) {
93
- exportComponents ( ) ;
94
- } ,
95
- } ,
96
- ] ,
97
- } ,
98
- {
99
- label : 'Edit' ,
100
- submenu : [
101
- { role : 'undo' } ,
102
- { role : 'redo' } ,
103
- { type : 'separator' } ,
104
- { role : 'cut' } ,
105
- { role : 'copy' } ,
106
- { role : 'paste' } ,
107
- { role : 'pasteandmatchstyle' } ,
108
- { role : 'delete' } ,
109
- { role : 'selectall' } ,
110
89
] ,
111
90
} ,
91
+ // {
92
+ // label: 'Edit',
93
+ // submenu: [
94
+ // { role: 'undo' },
95
+ // { role: 'redo' },
96
+ // { type: 'separator' },
97
+ // { role: 'cut' },
98
+ // { role: 'copy' },
99
+ // { role: 'paste' },
100
+ // { role: 'pasteandmatchstyle' },
101
+ // { role: 'delete' },
102
+ // { role: 'selectall' },
103
+ // ],
104
+ // },
112
105
{
113
106
label : 'View' ,
114
107
submenu : [
115
108
{ role : 'reload' } ,
116
109
{ role : 'forcereload' } ,
117
- { role : 'toggledevtools' } ,
118
110
{ type : 'separator' } ,
119
111
{ role : 'resetzoom' } ,
120
112
{ role : 'zoomin' } ,
Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
2
import '../public/styles/style.css' ;
3
- import { MuiThemeProvider } from '@material-ui/core/styles' ;
3
+ // import { MuiThemeProvider } from '@material-ui/core/styles';
4
4
import AppContainer from '../containers/AppContainer' ;
5
5
6
- class App extends Component {
7
- render ( ) {
8
- return (
9
- < div className = "app" >
10
- < div >
11
- < header style = { { height : '40px' , width : '100%' } } > ReacType</ header >
12
- < AppContainer />
13
- </ div >
14
- </ div >
15
- ) ;
16
- }
17
- }
6
+ export const App : React . SFC = ( ) => (
7
+ < div className = "app" >
8
+ < div >
9
+ < header style = { { height : '40px' , width : '100%' } } > ReacType</ header >
10
+ < AppContainer />
11
+ </ div >
12
+ </ div >
13
+ ) ;
18
14
19
15
export default App ;
16
+
17
+ // class App extends Component {
18
+ // // render() {
19
+ // return (
20
+ // <div className="app">
21
+ // <div>
22
+ // <header style={{ height: '40px', width: '100%' }}>ReacType</header>
23
+ // <AppContainer />
24
+ // </div>
25
+ // </div>
26
+ // );
27
+ // }
28
+ // }
You can’t perform that action at this time.
0 commit comments