Skip to content

Commit af4142b

Browse files
authored
update readme
1 parent d92f630 commit af4142b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@ import { multiply } from "react-native-custom-timer-notification";
1515

1616
// ...
1717

18-
const result = await multiply(3, 7);
18+
const result = await TimerNotification({
19+
eventData: JSON.stringify("notificationOpen?.data"),
20+
title: "My notification",
21+
body:"Much longer text that cannot fit one line... ",
22+
id: 1,
23+
sec:60,
24+
remove:false, // optional
25+
foreground:false,
26+
})
1927
```
2028

2129
## Contributing

0 commit comments

Comments
 (0)