File tree 1 file changed +6
-6
lines changed
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';
77
77
78
78
// in your react app
79
79
< 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)}
86
86
/ >
87
87
```
88
88
You can’t perform that action at this time.
0 commit comments