Skip to content

Commit 77018b5

Browse files
committed
Merge branch 'master' of github.com:codewithkyle/notifyjs
2 parents 5afc438 + 68b567a commit 77018b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ import { snackbar, toast } from "@codewithkyle/notifyjs";
6161
Create a notification:
6262

6363
```typescript
64-
notifier.snackbar({
64+
snackbar({
6565
message: "All snackbar notifications require a message",
6666
});
67-
notifier.toast({
67+
toast({
6868
title: "Toast notificaitons require a title",
6969
message: "And they require a message",
7070
});
7171

7272
// Adds an action button
73-
notifier.snackbar({
73+
snackbar({
7474
message: "All snackbar notifications require a message",
7575
buttons: [
7676
{

0 commit comments

Comments
 (0)