Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 3005e20

Browse files
committed
toasts
1 parent 55dda19 commit 3005e20

File tree

5 files changed

+242
-155
lines changed

5 files changed

+242
-155
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ A react component to render a code cell in your app.
2727
| `appName` | `string` | Unique app name |
2828
| `code` | `string` | Initial code for the cell |
2929
| `nowallet` | `boolean` | Set this to `true` if you dont want to use a web wallet, and generate a local jwk file (works on mobile) Recommended for playgrounds |
30+
| `enableToasts` | `boolean` | Set this to `true` if you want to enable toast notifications for the cell |
3031
| `onAOProcess` | `(pid:string) => void` | Callback function that run whenever a process is is loaded |
3132
| `onNewMessage` | `(msgs: msg[]) => void` | Callback function, runs whenever process gets new messages |
3233
| `onInbox` | `(inbox: msg[]) => void` | Callback function, runs whenever Inbox is received after calling `getInbox()` |

package-lock.json

Lines changed: 61 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)