From febb39aef71bad14dee4504f4da3e7b61cbcc946 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Thu, 7 Mar 2019 20:57:57 -0500 Subject: [PATCH] Change class notepad to mcopy --- native/index.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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