Change class notepad to mcopy

This commit is contained in:
mmcw-dev 2019-03-07 20:57:57 -05:00
parent b93266d1eb
commit febb39aef7
1 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,7 @@ import {
} from 'proton-native'; } from 'proton-native';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';
class Notepad extends Component { class Mcopy extends Component {
state = { text: '' }; state = { text: '' };
save() { save() {
@ -37,6 +37,7 @@ class Notepad extends Component {
render() { render() {
return ( return (
<App onShouldQuit={() => console.log('Quitting')}> <App onShouldQuit={() => console.log('Quitting')}>
<Menu label="File"> <Menu label="File">
<Menu.Item type="Item" onClick={() => this.open()}> <Menu.Item type="Item" onClick={() => this.open()}>
@ -49,8 +50,8 @@ class Notepad extends Component {
</Menu> </Menu>
<Window <Window
onClose={() => console.log('Closing')} onClose={() => console.log('Closing')}
title="Notes" title="mcopy-native"
size={{ w: 500, h: 500 }} size={{ w: 800, h: 600 }}
> >
<Box> <Box>
<TextInput <TextInput
@ -66,4 +67,4 @@ class Notepad extends Component {
} }
} }
render(<Notepad />); render(<Mcopy />);