diff --git a/native/index.js b/native/index.js index 20cd8f9..1a93aaf 100644 --- a/native/index.js +++ b/native/index.js @@ -11,7 +11,7 @@ import { } from 'proton-native'; import { Provider } from 'react-redux'; -class Notepad extends Component { +class Mcopy extends Component { state = { text: '' }; save() { @@ -35,8 +35,9 @@ class Notepad extends Component { else return true; // nextState is set from file } - render() { + render() { return ( + console.log('Quitting')}> this.open()}> @@ -49,8 +50,8 @@ class Notepad extends Component { console.log('Closing')} - title="Notes" - size={{ w: 500, h: 500 }} + title="mcopy-native" + size={{ w: 800, h: 600 }} > ); \ No newline at end of file +render(); \ No newline at end of file