File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,12 @@ import { CodeCell } from '@betteridea/codecell';
7777
7878// in your react app
7979< CodeCell
80- cellId= " 1" // any unique cell id
81- appName= " BetterIDEa-Code-Cell" // Your unique app name
82- code= " print('Portable code cell ftw!')" // initial code (optional)
83- onAOProcess= {(pid ) => console .log (" using process: " , pid)} // print the process id whenever it loads
84- onNewMessage= {(msgs ) => console .log (" new messages: " , msgs)} // print new messages
85- onInbox= {(inbox ) => console .log (" got inbox: " , inbox)} // print inbox messages
80+ cellId= " 1"
81+ appName= " BetterIDEa-Code-Cell"
82+ code= " print('Portable code cell ftw!')"
83+ onAOProcess= {(pid )=> console .log (" using process: " , pid)}
84+ onNewMessage= {(msgs ) => console .log (" new messages: " , msgs)}
85+ onInbox= {(inbox ) => console .log (" got inbox: " , inbox)}
8686/ >
8787```
8888
You can’t perform that action at this time.
0 commit comments