Skip to content

Commit e19431c

Browse files
committed
Inbox and messages
1 parent 0518dc3 commit e19431c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)